gmmktime(): timestamp of GMT date and timeWe can generate number of seconds measured since the Unix Epoch (January 1 1970 00:00:00 GMT) for any given Greenwich Mean Time GMT date and time by using gmmktime function of PHP. Here is the general syntax of mktime() function of PHP.
Output is timestampThis function is same as mktime() except the passed parameters represents a GMT date. Difference in output of mktime() and gmmktime()
Output is here
Other ways to get Unix Timestamp
This article is written by plus2net.com team.
![]() | ||||||