How to convert date (sql type =varchar) 01/01/06 to January 1, 2006?
Could anyone tell me, about how to do.
RE:Dates
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Use date_from_string (Modify stage) or StringToDate (Transformer stage) to convert the date into a string, supplying an approprate date format string.
Use string_from_date (Modify stage) or DateToString (Transformer stage) to convert that result into a string of the desired format, again supplying an appropriate date format string.
Use string_from_date (Modify stage) or DateToString (Transformer stage) to convert that result into a string of the desired format, again supplying an appropriate date format string.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.