v5:datetime:adodb_gmmktime
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
datetime:adodb_gmmktime [2015/12/03 23:57] – mnewnham | v5:datetime:adodb_gmmktime [2016/01/13 02:12] – ↷ Page moved from datetime:adodb_gmmktime to v5:datetime:adodb_gmmktime mnewnham | ||
---|---|---|---|
Line 16: | Line 16: | ||
===== 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.txt · Last modified: 2023/05/18 18:54 by dregad