If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Oracle funciton NEW_TIME equvialent in DB2.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-21-04, 02:31
BKamesh BKamesh is offline
Registered User
 
Join Date: Jul 2004
Posts: 40
Oracle funciton NEW_TIME equvialent in DB2.

Hi all,

Is there Oracle new_time function equivalent in DB2 ?

The new_time function returns a date in time zone1 to a date in time zone2.

For eg.,

new_time ( date , zone1, zone2 ) converts time/date in zone1 to zone2.

Thanks,
Kamesh.
Reply With Quote
  #2 (permalink)  
Old 09-23-04, 03:39
Romeo Romeo is offline
Registered User
 
Join Date: Feb 2002
Location: Philippines
Posts: 41
you need to define a new function for that...

this site has some UDF like NEW_TIME, NEXT_DAY(), etc.

http://www7b.software.ibm.com/dmdd/l.../db2/0205udfs/
__________________
There are 10 kinds of people,
those who know binary and those who don't.

http://www.linkedin.com/in/rtitong
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On