// convert date string to EPOCH | |
function TO_EPOCH(strDate) { | |
var strFmt = "yyyy-MM-dd'T'HH:ss:mm.SSS"; | |
var c = new java.text.SimpleDateFormat(strFmt).parse(strDate).getTime()/1000; | |
return c.toString(); | |
} | |
TO_EPOCH($p0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment