Beyond POSIX time

dunbarx at aol.com dunbarx at aol.com
Fri Jan 8 22:09:45 EST 2016


Richard.


I get the date you first put in. Tried several, all the way back to the battle of Hastings. All good  The negative seconds do the math as well as ordinary ones.


The thing went south when I tried the birth of Charlemangne. I suppose thee digit dates are not well received.


Craig



-----Original Message-----
From: Richard Gaskin <ambassador at fourthworld.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Fri, Jan 8, 2016 5:54 pm
Subject: Beyond POSIX time

Try this:

on mouseUp
   put "1/1/69" into t
   convert t to secs
   convert t to short date
   put t
end mouseUp

Is there yet a convenient way to handle conversion of dates prior to 1/1/70?

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list