Hi Sanju / All,
Please use the below query ,which would satisfy your needs,
select replace(to_char(sysdate,'DD-MON-YYYY HH:MI:SS AM'),'AM','PM') from
dual;
Correct Me if I am wrong.
Regards,
Selva
Polaris Software Lab
Chennai.
"Sanju Gupta " <oracledba-ezmlmshield-x28410644.[Email address protected]
03/29/08 10:42 AM
To
"LazyDBA Discussion" <[Email address protected]
cc
Subject
time format help
hi all
i want to simply convert the time from am to pm.
for example
given -- '29/03/2008 4:12:35 am'
needed output --'29/03/2008 4:12:35 pm'
thanks in advance
sanju
---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
Visit us at http://www.polaris.co.in
Oracle LazyDBA home page