I need a help in how to store datetime along with timezone. i am using Mysql 5.1. i want to do something like -
create table tb1
(
c1 datetime with time zone
);
Save the timezone in an extra column or do the conversion before saving the datetime value depending on your needs.
Starting from Mysql 4.1.3 you can use the CONVERT_TZ()
function
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With