fix date with JavaScript date() -


i writing blog, , want use time each blog post created time posted. how can use javascript date(), , keep date same after period of time?

this done server-side, not client side. javascript date() function done on client/browser. so, if changes time on machine, date() function returns different date. if date wrong on machine, date() function returns wrong date. so, normally, blog posts, dates stored on database. if use wordpress or other cms systems, implementation details covered, so, don't have worry implementation details


Comments

Popular posts from this blog

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -