Check out the documentation on time and localtime.my @time_struct; my $time_int; $time_int = time(); @time_struct = localtime($time_int); if (($poll_end_day + 1) == $time_struct[7]) { #need to reset $poll_end_day in here clear_results(); }
In reply to time and localtime should do it...
by ArthurDent
in thread Date calculations in Perl for Win32
by cei
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |