[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[],[],null,["[DateTime](/workspace/gmail/markup/reference/types/DateTime) values are expected to be in the ISO 8601 format, for example '2013-02-14T13:15:03-08:00' (YYYY-MM-DDTHH:mm:ssZ).\n\nBelow are examples for generating ISO 8601 datetime strings in a few popular programing languages. \n\nJava \n\n Date date = new Date();\n DateFormat df = new SimpleDateFormat(\"yyyy-MM-dd'T'HH:mm:ssZ\");\n String dateAsISOString = df.format(date);\n\nJavaScript \n\n var d = new Date();\n var date = d.toISOString();\n\nPHP \n\n $objDateTime = new DateTime('NOW');\n $isoDate = $objDateTime-\u003eformat(DateTime::ISO8601);\n\nPython \n\n from datetime import date\n d = date.now()\n date = d.isoformat()\n\nRuby \n\n require 'time'\n d = Time.now\n date = d.utc.iso8601\n\nPerl \n\n my $now = time();\n $date = time2isoz($now);\n\nC++ \n\n time_t now;\n time(&now);\n char buf[sizeof \"2011-10-08T07:07:09Z\"];\n strftime(buf, sizeof buf, \"%FT%TZ\", gmtime(&now));"]]