cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jfkbbb
New Member

Removing Time from Excel Data?

Hey everyone,

 

I am sourcing data from excel that I need to paste into a date field on a webpage. I set up a display message box to see how the data was porting and realized the date values are porting over with a time-slot. For example; I have “3/17/2021” listed in excel,  but it’s coming over as “3/17/2021 12:00:00 AM”...which is preventing me from pasting. How can I remove the time-slot?

 

jfkbbb_0-1616823054862.jpeg

 
thank you! 

3 REPLIES 3
fraenK
Memorable Member
Memorable Member
Shalu
Microsoft
Microsoft

Hello @jfkbbb ,

 

Please use "Convert Datetime to Text" and select format as "Short date" under Standard as shown here:

Shalu_0-1617156435936.png

This action helps in retrieving only Date and not the time. 

 

Thanks and hope it can help you. 

Shalu

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

Pmorg73
Helper II
Helper II

I did this recently by converting it to text and then changing the custom format to yyyy.MM.dd

 

Pmorg73_0-1617160328387.png

 

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (69,006)