Help Center/ DataArts Studio/ FAQs/ DataArts Migration/ How Do I Obtain the Current Time Using an Expression?
Updated on 2024-08-30 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.