Getting StartedConvert a timestamp

Convert a timestamp to a date

Save a date in the Asia/Kuala_Lumpur timezone to a custom field.

Use an External Request in your flow to convert a timestamp to a date, then save the returned date value to a custom field.

Configure the request

  1. Open External Request in your flow.
  2. Set Request Type to GET.
  3. Enter this Request URL:
https://cloud.bualpro.com/convertdate.php?timestamp={{current_time}}
External Request configured as GET with the timestamp URL
External Request configured as GET with the timestamp URL

Map the response

  1. Open Response mapping.
  2. Enter date in JSONPath.
  3. Under Save to custom field, select the field that will hold the date. The screenshot uses a field named Tarikh.
  4. Click Save.
Map the date response to the Tarikh custom field
Map the date response to the Tarikh custom field

Check the result

Use Test Now to inspect the response. A successful response includes status, date, and timezone:

{
  "status": "ok",
  "date": "02 Nov 2024",
  "timezone": "Asia/Kuala_Lumpur"
}

The date has a two-digit day, a three-letter month, and a four-digit year. 02 Nov 2024 is an example, not a fixed result.

Example date conversion response in Test Now
Example date conversion response in Test Now

Use the custom field in your flow wherever you need the saved date.