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

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -