Oracle Timestamp

I’m lazy and keep forgetting the format string for formatting dates into strings that I can understand, so here it is:

Function:

to_char()

Arguments:

1) The date column you want to format

2) The mask – personal most commonly used:

‘yyyy/mm/dd hh:mi:ss am’

This entry was posted in Computers and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>