cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JWPowder
Advocate II
Advocate II

Now () 24 Hour Format

I have datecard that contains the Now() function but I need it to be in 24 hour format vs. AM/PM. 

 

is this possible? 

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@JWPowder 

Use the Text function to convert it.

Text(Now(), ShortDateTime24)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

6 REPLIES 6
RandyHayes
Super User
Super User

@JWPowder 

Use the Text function to convert it.

Text(Now(), ShortDateTime24)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

That did convert the value in that field to 24 hour time. 

Now I have a separate issue, when I submit the form, and the data is input into my share point list, it records the time as if it were 3 hours ago and still in 12 hour format. 

RandyHayes
Super User
Super User

@JWPowder 

The format of the time and date in the SharePoint list is governed by SharePoint.  The time you are submitting is correct.  It is the regional settings of the Site that holds your list.  Take a look at the settings for the site and see if the regional settings are correct.

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Copy that, I will have to contact the site admin because I don't have access to change the timezone setting for the site. As soon as I confirm functionality I will return and mark as solution. 

 

Thank you!

RandyHayes
Super User
Super User

@JWPowder 

Sounds good!

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Just to follow up @RandyHayes, editing the sharepoint site time formatting did indeed correct the issue. 

 

Thank you!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,110)