Dates/Calendar
Marty Knapp
martyknapp at comcast.net
Thu Jan 12 22:00:33 EST 2006
Thanks Sara and Ken for the info.
If anyone's interested, you're welcome to my calendar stack. It has
Tooltips for instructions, but it's pretty simple/basic. It would need
to be customized for use in your stack.
In Rev, insert this in the Message box:
go stack url "http://westshorecraftworks.com/MartysCalendar.rev"
Marty Knapp
>>I'm reviving an calendar stack that I wrote years ago in Hypercard using
>>WindowScript. I've got it working pretty well, but had a quick question
>>- it appears that Windows XP is limited to dates on or since Jan 1, 1970
>>and that OSX is limited to dates on or since Jan 1, 1935. Does that
>>sound correct?
>>
>>
>>
>
>I don't know about any cross-platform differences with dates but the
>two dates you quoted are both significant in Rev.
>
>1/1/1970 is 0 seconds (at midnight GMT). This can cause strange things
>to happen if you end up working with negative seconds.
>
>35 is the default century cutoff, so any dates before 1935 will get
>shown as 2035 after using the convert command, unless you change the
>cutoff.
>
>If you want to have a look at another calendar, mine is available at
><http://www.troz.net/Rev/libraries/Calendar.rev.gz>
>
>Cheers,
>Sara
>
>
More information about the use-livecode
mailing list