in reply to Date calculations in Perl for Win32
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(); }
|
|---|