Hi,
        Check out the man pages for strftime and and the perldoc pages for
localtime for more detailed info.


For example ....
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
$currentDate = POSIX::strftime("%Y%m%d", localtime(time));


Hope this helps 

naren 


At 10:12 AM 11/2/99 +0000, Martin A. Langhoff wrote:
>hi list,
>
>    [sorry for the OT] I'm about to develop a monthly calendar,
>something akin to netscape's scheduler. To start, I'm looking for a
>reliable function to calculate each day of any given month/year.
>
>    Or pointers to a usable formula to calculate it.
>
>    I don't really mind doing it myself, just trying not to reinvent the
>calendar.
>
>    Thanks!
>
>
>martin
>
>ps: I know most of you laugh at such a Q. This must be a college
>exercise, but I
>'ve never been into a programming college. Sorry.
>
>--
>   - Martin Langhoff @ S C I M  Multimedia Technology -
>    - http://www.scim.net      | God is real until  -
>    - mailto:[EMAIL PROTECTED]  | declared integer   -
>
>
>

Reply via email to