A timestamp string in ISO 8601 format, up to a microsecond precision. For
example: "2024-01-10T16:15:54.615087Z".
Examples
# Format given timestamp as human-readable string# For example, returns "2024-07-12T12:50:33.000000Z"-returnStep:return:${time.format(1720788633,"GMT")}# For example, returns "2024-07-12T12:50:33.000000Z"-returnStep:return:${time.format(1720788633)}# For example, returns "2024-07-12T14:50:33.000000+02:00"-returnStep:return:${time.format(1720788633,"Europe/Paris")}# Or, you can use `sys.now` which returns Unix time-returnStep:return:${time.format(sys.now())}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Function: time.format\n\nFormats the given timestamp as a human-readable string.\n\nArguments\n---------\n\nReturns\n-------\n\nA timestamp string in ISO 8601 format, up to a microsecond precision. For\nexample: \"2024-01-10T16:15:54.615087Z\".\n\nExamples\n--------\n\n```yaml\n# Format given timestamp as human-readable string\n# For example, returns \"2024-07-12T12:50:33.000000Z\"\n- returnStep:\n return: ${time.format(1720788633,\"GMT\")}\n# For example, returns \"2024-07-12T12:50:33.000000Z\"\n- returnStep:\n return: ${time.format(1720788633)}\n# For example, returns \"2024-07-12T14:50:33.000000+02:00\"\n- returnStep:\n return: ${time.format(1720788633,\"Europe/Paris\")}\n# Or, you can use `sys.now` which returns Unix time\n- returnStep:\n return: ${time.format(sys.now())}\n```"]]