Question
Date time converter
Hii all,can anybody help me in expression rule for Date Time converter.
I want to display Date time in this format:11/29/2022 00:00:00 GMT+00:00
a!localVariables(
local!date: ri!date,
local!time: ri!time,
local!split: split(local!time, ":"),
local!day: day(local!date),
local!month: month(local!date),
local!year: year(local!date),
gmt(datetime(
local!year,
local!month,
local!day,
local!split[1],
local!split[2],
local!split[3]
),ri!timezone),
)
The above code given Date and time format like :1/17/2023 10:23 AM GMT+00:00(Date and Time).
Thanks
