cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

String formula timestamp for local time

Dears

 

I found String formula timestamp to add filename as below.

 

concat(formatdatetime(triggerBody()?['DateTimeReceived'],'yyyyMMddhhmm'),item()?['Name'])

 

As this timestamp is based on World STD time, I want to add 9 hours for Japan STD time.

 

addHours('<timestamp>', <hours>, '<format>'?)

 

Could you some one give me help to modify original concat for local Japan time (+9 hours) ?

 

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Dears

 

I found solution by try and error.

 

concat(substring(formatDateTime(addHours(triggerBody()?['DateTimeReceived'],9)),0,16),item()?['Name'])

 

Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Dears

 

I found solution by try and error.

 

concat(substring(formatDateTime(addHours(triggerBody()?['DateTimeReceived'],9)),0,16),item()?['Name'])

 

Regards

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (3,376)