You really need to read about the perl modules I have already given you. These will allow you to manipulate date/time in a portable way. If you pre-calculate reference times based on system time they will or may not be portable across OSes because EPOCH times may differ. Date:Calc will make your life much easier.
in reply to Re: (mitd)Re: Re: Re: time & localtime() function Q?
in thread time & localtime() function Q?
mitd-Made in the Dark
'Interactive! Paper tape is interactive!
If you don't believe me I can show
you my paper cut scars!'