DateTime

  • Thread starter Thread starter shapper
  • Start date Start date
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
 
Back
Top