DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
convert datetime to timestamp javascript
function
toTimestamp
(
strDate
)
{
var
datum
=
Date
.
parse
(
strDate
)
;
return
datum
/
1000
;
}
Source by www.hashbangcode.com #
PREVIOUS
NEXT
Tagged:
#convert
#datetime
#timestamp
#javascript
ADD COMMENT
Topic
COMMENT
Name
3+6 =
Submit