MySQL DATETIME from Bash date
Posted by admin on Okt 29, 2009 in Work Related |
Just execute this:
$> date +"%Y-%m-%d %H:%M:%S"
this will produce the same output as:
SELECT now( )
Output: 2009-10-29 09:53:19
Urlaubsfotos, Fun
Just execute this:
$> date +"%Y-%m-%d %H:%M:%S"
this will produce the same output as:
SELECT now( )
Output: 2009-10-29 09:53:19
Copyright © 2012 Stempell All rights reserved. Theme by Laptop Geek.