> What exactly would I enter if I want a program to find the epoch time for > midnight each night? I know how to find "current" time and date in both > "human" time and epoch time.
I can't give you code, because I haven't worked with perl's various time functions, but logically, I would get the epoch time for 'now', and mod it by the number of ticks in a given day. I would then subtract the result from the 'now' variable, and that should give me midnight this morning. I would write a perl script that only did this, and then converted the result to a readable time/date format to double check my math before copying the code into my real script. Hope this helps, /\/\ark -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]