Hi,
I think two things would be nice to have:
--------------- Date support -------------------
date = ParseDate("%yyyy", "1983")
Debug date
date = ParseDate("%yyyy", "1933")
Debug date
--
The date library doesn't support years before the 1970's (I suppose), which is a real pain.
--------------- Date support -------------------
Procedure a()
b()
EndProcedure
Procedure b()
a()
EndProcedure
--
Well not exatcly that, because it would cause an infinite loop, but something like C's prototypes, that would allow to call a procedure that hasn't been defined yet.
Tony
Date support for old dates & function 'cross call'
Re: Date support for old dates & function 'cross call'
You mean 'Declare'?tony wrote: Well not exatcly that, because it would cause an infinite loop, but something like C's prototypes, that would allow to call a procedure that hasn't been defined yet.
You would have to create your own date parser and use API to get the time from that..tony wrote:tony slaps himself around with a big trout. 'Declare' is what I was looking for. Any idea about the date business?
For more info see API functions:
'SystemTimeToFileTime', 'FileTimeToSystemTime'
and check out the structures:
'SYSTEMTIME', 'FILETIME'
*Edit: FILETIME doesn't support dates earlier than January 1, 1601.
Re: Date support for old dates & function 'cross call'
This already works:tony wrote: date = ParseDate("%yyyy", "1983")
Debug date
Code: Select all
date = ParseDate("%yyyy", "1983")
Debug FormatDate("%yyyy", date)