v5:datetime:adodb_gmmktime
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
datetime:adodb_gmmktime [2015/12/03 23:57] – mnewnham | v5:datetime:adodb_gmmktime [2023/05/18 18:54] (current) – Deprecated dregad | ||
---|---|---|---|
Line 14: | Line 14: | ||
) | ) | ||
</ | </ | ||
+ | |||
+ | <WRAP important> | ||
+ | [[datetime_index# | ||
+ | Use 64-bit native PHP functions instead. | ||
+ | </ | ||
+ | |||
===== Description ===== | ===== Description ===== | ||
This function converts a gmt date to a unix timestamp. | This function converts a gmt date to a unix timestamp. | ||
+ | -------------------------------------- | ||
+ | ===== Usage ===== | ||
+ | <code php> | ||
+ | $t = adodb_gmmktime(12, | ||
+ | |||
+ | print $t; | ||
+ | /* | ||
+ | * Prints -28512190200 | ||
+ | */ | ||
+ | |||
+ | $d = adodb_gmdate(' | ||
+ | print $d; | ||
+ | /* | ||
+ | * prints 06/20/1066 12:10:00 | ||
+ | */ | ||
+ | </ |
v5/datetime/adodb_gmmktime.1449183457.txt.gz · Last modified: 2017/04/21 11:27 (external edit)