| Author |
How to select time stamp data as date
|
M Wilson
Greenhorn
Joined: May 23, 2010
Posts: 26
|
|
I would like to know how in my sql to select the date part of a time stamp date?
For example:
select REF_NO, STAT_CD, DATE_TS
FROM TABLE
The result of this returns DATE_TS = 2011-01-24 08:45:19.977
How can my sql return just the 2011-01-24 part of it?
Thank you very much.
|
 |
Tom Reilly
Rancher
Joined: Jun 01, 2010
Posts: 618
|
|
|
Try Googling mysql Date(). Please respond if you need more information.
|
 |
 |
|
|
subject: How to select time stamp data as date
|
|
|