Created
June 13, 2013 12:54
-
-
Save Webklex/5773442 to your computer and use it in GitHub Desktop.
SQL - Groupcommands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM_UNIXTIME(timestamp,'%d.%m.%Y') #Gibt ein schön formatiertes Datum aus | |
#Build an automated CURENT_TIMESTAMP to UNIX-DATE converter by using a TRIGGER | |
CONVERT CURENT_TIMESTAMP TO UNIX-DATE SET NEW.date = UNIX_TIMESTAMP(NOW()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment