Help Center/ DataArts Studio/ FAQs/ DataArts Migration (CDM Jobs)/ How Do I Obtain the Current Time Using an Expression?
Updated on 2025-02-20 GMT+08:00

How Do I Obtain the Current Time Using an Expression?

Symptom

How do I obtain the current time using an expression?

Solution

You can use the DateUtils.format(${timestamp()},"yyyy-MM-dd HH:mm:ss") expression on the Map Field page to obtain the current time. For details, see Field Conversion.