Fixed date function to return ISO8601 strings. Made number function return numbers instead of strings.