Hi All,
Could please telll me the what is the default format of DSJobStartDate:
in my job its giving yyyy-mm-dd..
I want to convert into yyyymmdd. is there any way to do that?
could you pls suggesst me
Thanks,
Vijay
what is the default of DSJobStartDate
Moderators: chulett, rschirm, roy
what is the default of DSJobStartDate
vijayakumargoud
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
DSJobStartDate invoked from a Transformer stage is a Date. Therefore it has no default format or, indeed, any format - it's stored as a binary quantity. The only way to get a format is to convert the date to a string, for which the appropriate function in a Transformer stage is StringToDate() - or in a ModifyStage date_from_string() - in which you can specify the required date format.
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.