Hello,
I have the following string: Fri, 08 Aug 2008 19:25:01 GMT
How can I get only date in dd-mm-yyyy format?.
Is possible?.
Thank you very much.
Hello,
I have the following string: Fri, 08 Aug 2008 19:25:01 GMT
How can I get only date in dd-mm-yyyy format?.
Is possible?.
Thank you very much.
SET DATE ITALIAN
SET CENTURY ON
? uCharToVal( "08 Aug 2008", "D" )Thank you.
But the string is Fri, 08 Aug 2008.
Even that string also works.
Please try using the function with different combinations. Just make sure that the time stamp is not included.
eg. October 23rd 2001 works
In the next revision any strings will be handled.
Mr. Rao,
Thank you very much.
The help file is very small:
Syntax:
uCharToVal( <cExpression>, <uType> ) --> uValue
Parameters:
<cExpression> A string expression to be converted to a specific type.
<uType> It is value, whose type determines the kind of conversion we want to do.
But it is a very powerful function.
Now in the revised build of FWH 11.05, even expressions like 'Fri, 08 Aug 2008 19:25:01 GMT' are handled.