Changeset 11925
- Timestamp:
- Aug 9, 2011, 4:29:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dblayer/functions_sqlite.inc.php
r11485 r11925 56 56 57 57 $link->createFunction('now', 'pwg_now', 0); 58 $link->createFunction('unix_timestamp', 'pwg_unix_timestamp', 0);58 $link->createFunction('unix_timestamp', 'pwg_unix_timestamp', 1); 59 59 $link->createFunction('md5', 'md5', 1); 60 60 $link->createFunction('if', 'pwg_if', 3); … … 695 695 function pwg_unix_timestamp() 696 696 { 697 return time();697 return strtotime($strDate); 698 698 } 699 699
Note: See TracChangeset
for help on using the changeset viewer.