Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
how to convert
20131022005811 to 22/10/2013 |
Remove quotes around field name, it should work.
Date( Date#( CDAT ,'YYYYMMDDhhMMss'),'DD/MM/YYYY') as Date,
its not working
i have done each possible thing
Could you share your sample qvw with sample data?
Date#(Left(CDAT,2) & '/' & mid(CDAT,4,2) & '/' & mid(CDAT,7,4),'DD/MM/YYYY') as Date,
wat this function will do ?
This will try to do things in a complex way that Date#() alone can do in a simpler way. .
Hi,
Check these in Text objects
=Date(Date#('20131022005811' ,'YYYYMMDDhhmmss'),'DD/MM/YYYY')
or
=Date(Date#(Left('20131022005811',8),'YYYYMMDD'),'DD/MM/YYYY')
If works then use as is in script by replacing with your field without single quotes.
Try this in text object
Date(Date#('20131022005811','YYYYMMDDf'),'DD/MM/YYYY')
then in your script side
Thanku so much