Changeset 6464 for branches/2.1/include/dblayer/functions_sqlite.inc.php
- Timestamp:
- Jun 4, 2010, 9:39:02 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/include/dblayer/functions_sqlite.inc.php
r6342 r6464 56 56 57 57 $link->createFunction('now', 'pwg_now', 0); 58 $link->createFunction('hour', 'pwg_hour', 1); 58 59 $link->createFunction('unix_timestamp', 'pwg_unix_timestamp', 0); 59 60 $link->createFunction('md5', 'md5', 1); … … 583 584 } 584 585 586 function pwg_hour($datetime) 587 { 588 return strftime('%H', $datetime); 589 } 590 585 591 function pwg_unix_timestamp() 586 592 {
Note: See TracChangeset
for help on using the changeset viewer.