carice
17th July 2002, 18:00
In a textfield; a date is stored using the date format %u001.
This format works with abbreviate month so a date could look like 17Jul02.

How can i reconvert this date (like '17Jul02') back to a utc long?
When using functions like

long inputstr.to.utc( string inputstr(.), string format(7) )

this doesn't works. He expected a inputstring like '170702' even when you have said that the format is %u001.

any clues are welcome

:confused: :confused: :confused:

Chandra
18th July 2002, 19:04
How about. try to get the format required by you using function sprintf$ and then use the function mentioned by you.

carice
23rd July 2002, 14:26
thanks for the reply,

I'm trying this function but it doesn't work;

can you give me the syntax ?

The input is something like "09Sep02"
This format is %u001
and i want to get the date like 090902

Can you help me further?