Jump to content

display datetime


fikiwan

Recommended Posts

ya ... I'm back from there and now I'm ask for help something here ... (Y) it's not from DB , but just im tried like this

<?phpecho "date('Y-m-d H:i:s A') ->". date('Y-m-d H:i:s A');?>

Link to comment
Share on other sites

Php date() will use timezone set up in the server when displaying date. You need override the timestamp to show time for other timezone. Where as the right bottom corner shows local time set in your machine.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...