Skip to content

Instantly share code, notes, and snippets.

@dimkalinux
dimkalinux / ParseISO8601.js
Created Dec 14, 2011
javascript to parse ISO-8601 date format
View ParseISO8601.js
function ParseISO8601(iso)
{
// 0 = whole string
// 1 = year
// 2 = month
// 3 = day
// 4 = whole time part
// 5 = hour
// 6 = minute
// 7 = second