Skip to content

Instantly share code, notes, and snippets.

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