Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

date format in oracle 1

Status
Not open for further replies.

jhoann

Programmer
Apr 18, 2002
81
0
0
PH
i have a problem in formatting my Date

I have a field : Due Date
(Data type : Date ,
Format : DD Month, YYYY )

but why my output is like this : 12 March ,2000 ?
why there is a space after the month (March)???

how to remove the spaces ... thanks a lot

jhoann
 
Try this:
[tt]
to_char(DUE_DATE,'DD fmMonth, YYYY')
[/tt]
The "fm" suppresses the padding of blanks.

Good Luck!


(select * from life where brain is not null)
Consultant/Custom Forms & PL/SQL - Oracle 8.1.7 - Windows 2000
 
thanks a lot BJCooper. :)

it works :)

jhoann
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top