cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
usarif
Resolver I
Resolver I

get a local time CST

folks, I have SP list column of date where i need to update local time (US Central Standard Time). In my flow I update Item with this expression

                   formatDateTime(convertFromUtc(utcNow(),'Central Standard Time'), 'd')

 

but result is 6 hours off. So, if 'now time' is 1:00 pm CST, giving me 7:00 pm...

 

Is there way to get CST time?

2 ACCEPTED SOLUTIONS

Accepted Solutions
DeepakS
Super User
Super User

Hi @usarif 

 

Try following expression:

formatDateTime(convertFromUtc(utcNow(),'Central Standard Time'), 'MM-dd-yyyy hh:mm:ss')
 
Regards

View solution in original post

Deepak> this works great..thanks for reply.

 

But I like this date format better 'Thursday, May 21, 2020 3:49 PM' as shown below..

time.png

View solution in original post

2 REPLIES 2
DeepakS
Super User
Super User

Hi @usarif 

 

Try following expression:

formatDateTime(convertFromUtc(utcNow(),'Central Standard Time'), 'MM-dd-yyyy hh:mm:ss')
 
Regards

View solution in original post

Deepak> this works great..thanks for reply.

 

But I like this date format better 'Thursday, May 21, 2020 3:49 PM' as shown below..

time.png

View solution in original post

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (74,894)