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 <ambassa...@fourthworld.com>
To: How to use LiveCode <use-livecode@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
  ____________________________________________________________________
  ambassa...@fourthworld.com                http://www.FourthWorld.com

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

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

Reply via email to