diffdays

Terry Vogelaar terry at discovery.nl
Thu Jul 18 23:56:01 EDT 2002


>>> Would be nicer to have DateToJulian and JulianToDate functions built into
>>> the engine....
>> 
>> I agree with Richard - it would be 'nicer' to be able to do it easier.
> 
> it is no more than about 20 lines of code, from a parsed date.
> and an option on a control card whether to use the RR built-in code or the
> application hand-made code. Both are nice and easy.
> 
> actually it is better to have the starting days of the months in a list,
> i.e. 0,31,59,90,... for a non-switching year, but 0,31,60,91,... for a
> switching
> year.

Could you share these 20 lines of code? I don't have a clue where to start.

Terry





More information about the use-livecode mailing list