Hello All
I had a situation where i need to convert from UTC Time to Local Time. In SQL Server i found a function called DATEADD. This function will returns a new datetime value based on adding an interval to the specified date.
Is there is any function can we use in Datastage to achive the same task?
Thanks in advance.
DS User
Equalent to DATEADD in Datastage
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 72
- Joined: Mon Jul 06, 2009 9:34 pm
- Location: Sydney
Re: Equalent to DATEADD in Datastage
Have a look at TimestampOffsetByComponentsSURA wrote:DATEADD. This function will returns a new datetime value based on adding an interval to the specified date.
Is there is any function can we use in Datastage to achive the same task?
Re: Equalent to DATEADD in Datastage
The Offset-functions are new in 8.5! Not so often mentioned as goodies but much easier to handle than the alternatives from former versions (which are still present)!djbarham wrote:Have a look at TimestampOffsetByComponents
"It is not the lucky ones are grateful.
There are the grateful those are happy." Francis Bacon
There are the grateful those are happy." Francis Bacon