DateTime

S

shapper

Hello,

I am inserting records on the database and I want to insert the
current date and time.

I don't know where the web site will be hosted and I always want to
display the date time in the timezone of the user.

Shouldn't I insert the data time in the database always using
something like UTC or Greenwish? How I do this?

And when I retrieve it how can I display it in the timezone fo the
user visiting the web site?

Thanks,

Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,149
Latest member
Vinay Kumar Nevatia0
Top