2006 Apr 03 10:25 AM
Hi,
I have a field that it's dec(15)(UTC time stamp) but I need it in date format.
Thanks
2006 Apr 03 10:29 AM
Hi Laura,
You can use the CONVERT TIME STAMP to convert a timestamp into a date and time.
Regards,
John.
2006 Apr 03 10:29 AM
Use one of the following FMs,
CONVERT_DATE_TO_EXTERNAL Conversion: Internal to external date (like screen conversion)
CONVERT_DATE_TO_INTERNAL Conversion: External to internal date (like screen conversion)
Extract the date part from the field you have, and pass to the function module.
Regards,
Ravi
2006 Apr 03 10:29 AM
CONVERT TIME STAMP tst TIME ZONE tz INTO DATE d TIME t.
where tst is ur timestamp value , tz is timezone ,
d is ur date
2006 Apr 03 10:33 AM
hi,
you can try this way..
CONVERT TIME STAMP tstamp TIME ZONE 'UTC+12' INTO
DATE d TIME t.
Regards
vijay