Difference between LC on Mac and LC server

Richard Gaskin ambassador at fourthworld.com
Fri Jan 8 15:51:28 EST 2016


jbv wrote:

> When I run the following code on my Mac (LC community 6.5.2) :
>    get "04/17/2016"
>    convert it to seconds
>    put it
>
> I get 1460844000
>
> When I run the same code on LC server (on-rev account) I get
> 1460840400
>
> Any idea wht there's a difference ?

With a difference of 3600, it looks like one of the two systems hasn't 
accounted for a shift in daylight time, or perhaps that daylight time 
occurs on a different date in your time zone from the time zone the 
server is in.

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




More information about the use-livecode mailing list