hello,
how could i create a timestamp or time_of_posting column in my site such that there is no sync problem bw server time and visitor's time...

also that column will be used for finding if diff bw time_of_posting and current time is >11months and less than 12 months

Recommended Answers

All 2 Replies

Use UTC. You still have to convert from local to UTC and back where required.

is unixtimestamp() ok for this thing??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.