Jump to content
Sign in to follow this  
fikiwan

display datetime

Recommended Posts

hello .... anyone here ...I try display datetime look the pic: why is the date that appears not the same as my computer thank regar 1001461_10200260236252278_1507592976_n.jpg?oh=313d45ebc25ec1a7af6e372df1bddc34&oe=51C015BC&__gda__=1371611700_398399e3d3b462d0d3f6061e7f0d65b5

Share this post


Link to post
Share on other sites

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');?>

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...