equivalent of oracle's nls_date_format

This is a discussion on equivalent of oracle's nls_date_format within the MySQL Database forums, part of the Database Forums category; What's the equivalent of doing this: ALTER SESSION SET nls_date_format='mon-dd-yyyy hh:miam'; on MySQL 5.0? ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008
Dave Griffith
 
Posts: n/a
Default equivalent of oracle's nls_date_format

What's the equivalent of doing this:
ALTER SESSION SET nls_date_format='mon-dd-yyyy hh:miam';
on MySQL 5.0? Trying to find the answer with Google keeps returning
MySQL-to-Oracle conversions.

--
David Griffith
dgriffi@cs.csbuak.edu <-- Switch the 'b' and 'u'
Reply With Quote
  #2 (permalink)  
Old 04-17-2008
Luuk
 
Posts: n/a
Default Re: equivalent of oracle's nls_date_format

Dave Griffith schreef:
> What's the equivalent of doing this:
> ALTER SESSION SET nls_date_format='mon-dd-yyyy hh:miam';
> on MySQL 5.0? Trying to find the answer with Google keeps returning
> MySQL-to-Oracle conversions.
>


this is the closest i can find:
http://dev.mysql.com/doc/refman/5.0/...e-support.html

mysql> SELECT DATE_FORMAT(NOW(),'%b-%d-%Y %l:%i%p');
Apr-17-2008 11:27AM

--
Luuk
Reply With Quote
  #3 (permalink)  
Old 04-17-2008
Captain Paralytic
 
Posts: n/a
Default Re: equivalent of oracle's nls_date_format

On 17 Apr, 00:38, dgri...@cs.csbuak.edu (Dave Griffith) wrote:
> What's the equivalent of doing this:
> ALTER SESSION SET nls_date_format='mon-dd-yyyy hh:miam';
> on MySQL 5.0? Trying to find the answer with Google keeps returning
> MySQL-to-Oracle conversions.
>
> --
> David Griffith
> dgri...@cs.csbuak.edu <-- Switch the 'b' and 'u'


See http://dev.mysql.com/doc/refman/5.0/...atetime_format
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0