How to get a system date in the application integration

How to get a system date time, i dont see any example. Trying to apply the date function, but its not working dateFormat(timestamp, format_string, timezone, current_format) Can you share if you have examples to pull the system date and conversations.

0 3 63
3 REPLIES 3

Hi

You can use our timestamps functions https://cloud.google.com/application-integration/docs/data-transformer-functions-reference#timestamp...

You can use dateFormat function to convert a timestamp from one format to another and you can use nowInMillis to get current time in epoch.

Can you share few more details on your use case?

What I noted is there is no Date data type in Integration Mapping.

When I convert mills to date time format only GMT is working others format is not working.

Can you help me with the following information to assist better?

  1. datetime value which needs to be converted
  2. expected output
  3. values being passed to dataFormat function.