I have a user-specified date.  I want to convert it to seconds and
factor in 86400 to establish the range of seconds for that date, so that
I can compare a file's creation date to determine whether that file was
created on that specified day.  The problem is I am not sure what is
used as the starting point for a date's seconds counter.  At 6:42 this
morning, I ran this:

  put the short date into theDate
  convert theDate to seconds
  put ((the seconds - theDate) / 3600)

and got 4.710556, which suggests that a date starts at 1:00 AM and not
midnight.  Is this accurate?  And more importantly, is this the way the
computation would be handled on any client machine anywhere?

Thanks

Mark Powell

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to