calendar function anyone ?
hibis.jmr
hibis.jmr at free.fr
Wed Feb 14 11:23:14 EST 2007
I also notice a difference of 60 min only at a few dates (Mac OS X).
I have found that it happens when changing from winter date to summer
date (in France)
The foreign system dates seems not to be well managed by revolution
Jean-Marc
Le 14 févr. 2007, à 11:43, jbv a écrit :
> Hi all,
>
> Thanks for your reply. Converting the date to dateItems actually
> crossed
> my mind, but are you sure the convert function is 100% bug free ?
> AFAIR, last time I used it in a cgi script, there was a 60 min
> difference
> in some conversions (unfortunately I don't remember in which cases, but
> I remember that this bug lead to a few threads on this list) and
> finally choosed
> to make all date conversions with mySQL instead...
>
> Best,
> JB
>
>>> Does anyone know of a function to find out, for instance, which day
>>> of
>>> the
>>> week was sept. 18th 1918 or which day of week will be dec. 5th 2025 ?
>>>
>>
>> If you convert a date to dateItems, it becomes a comma-delimited list
>> of 7 items. The last one is a number indicating the day of the week.
>> Then you can use the system weekDayNames to find the day name that
>> matches that number.
>>
>> e.g.
>> put "12/5/2025" into tDate
>> convert tDate to dateItems
>> put the last item of tDate into tDayNum
>> put line tDayNum of the system weekdayNames into tDayName
>>
>> Cheers,
>> Sarah
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list