in my web application, user has to enter a time and select a date.so i want to save that time and date in globle time and date.when it get it should appear in user’s country time.so simply the requirement is to convert a string into globl time and globle date when saving and globle time and date convert into a string when retrieving.so please let me know if someone know the PHP functions for this.thank you!!!
Share
PHP dates and times always work on server side.
Did you already consider to use the timestamp and the date_default_timezone_set() function to get the “global” datetime?