How to Convert Date & Time to Cvent Format in Workfront Fusion - 2025-06-07T06:25:00.000Z

 Introduction

When working with APIs or third-party systems in Workfront Fusion, you often need to send date and time in a specific format.

If the format is wrong, your API call may fail.
So let’s understand this in a very simple way

What is Cvent Format?

Cvent format looks like this:

2025-06-07T06:25:00.000Z

This may look complicated, but it’s actually very simple when broken down.

Understanding the Format

YYYY-MM-DDTHH:mm:ss.SSSZ

Each part means:

  • YYYY → Year (e.g., 2025)
  • MM → Month (01 = Jan, 02 = Feb, etc.)
  • DD → Day (e.g., 07)
  • T → Separator between date and time
  • HH → Hour (24-hour format)
  • mm → Minutes
  • ss → Seconds
  • SSS → Milliseconds
  • Z → Time zone (UTC)

Example

2025-06-07T06:25:00.000Z

Means:

  • Date → 7th June 2025
  • Time → 06:25 AM
  • Timezone → UTC

 

How to Generate This in Workfront Fusion

Use this simple expression:

{{formatDate(now; "YYYY-MM-DDTHH:mm:ss.SSS[Z]")}}


 

Important Points

  • Always use capital letters for format (YYYY, MM, DD, etc.)
  • Use T exactly as shown (it’s mandatory)
  • Put Z inside square brackets → [Z]
  • Time is always in 24-hour format

Comments

Popular posts from this blog

REST API Calls with Query Parameters in BizTalk: A Step-by-Step Guide

Error: Number of included segments do not match

Updating BizTalk SSO DB using BTDF and a simple BTDF deployment