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

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 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.