Databases :: MySql :: mysql current date select today |
|||
| By: Nono |
Date: 20/06/2007 20:38:02 |
Points: 20 | Status: Answered Quality : Excellent |
| how to get current date (today) via select in mysql ? | |||
| By: VGR | Date: 20/06/2007 20:54:45 | Type : Answer |
|
| well, it's usually NOW() which is used, but MySql Server - on the contrary to ORACLE and SQL-Server - does respect the SQL standards so you can also use the (alias ;-) CURRENT_DATE() which is a SQL standard function. If you need to format the returned today value, use DATE_FORMAT() accordingly Happy Mysqling ;-) |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








