javascript - hot to date indide parameter in xml -
i made code inserting data system mail know work xml file. problem try create javascript code getting current date of day, , put inside filed date, without success.
i know hot create date in javascript, problem in thx xml file, mean how can impplemt date inside filed date in xml file.
the code(xml side):
123456
now complete english
1274 liran **
413 3280 86308 ; unix email;dateofday liroy7@gmail.com;(i want here return date javascript)
thanks,
i'm not sure understand, can use gettime() on date objec insert xml file milliseconds, , if need convert javascript object can parse directly.
function putinxmlfile(d) { writetoxml(d.gettime()); } function getfromxmlfile() { var date = new date(getfromxml()); }
it works because javascript date object can parse milliseconds epoch (which returned gettime).
Comments
Post a Comment