tomaac Posted September 5, 2007 Report Share Posted September 5, 2007 Iekš PHP ir funkcija mktime, kas pārvērš timestampu par UNIX laiku. Kāda ir atbilstoša funkcija iekš Javascripta? Thx. Link to comment Share on other sites More sharing options...
andrisp Posted September 5, 2007 Report Share Posted September 5, 2007 http://www.w3schools.com/jsref/jsref_obj_date.asp http://www.w3schools.com/jsref/jsref_getTime.asp Tikai, protams, pirms izmanto getTime(), saseto izveidotajam date objektam vajadzīgos datumus. Link to comment Share on other sites More sharing options...
Recommended Posts