cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NathanFra
Advocate I
Advocate I

Date and Time to HTML Text

I'm taking a table in my app and having it send an email to the user. I've got everything setup how I like at the moment for testing, but I wanted to add a Date/Time to the HTML input to hardcode for the user. 

 

Here is what I have at the moment:

 

NathanFra_0-1604087546003.png

 

I would like to add the date/time above the html table in the email:

NathanFra_1-1604087636643.png

I tried making a regular Text Label and defaulted it with Text( Now(), "[$-en-US]mm/dd/yyyy hh:mm:ss" )

But I'm struggling to get that into my HTML. 

 

Suggestions?

HTML is something I have very little experience with. 

 

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @NathanFra 

 

To display date and time above items, you can update the expression to:

 

"<h3>Patient Valuable Log</h3>" & Text( Now(), "[$-en-US]mm/dd/yyyy hh:mm:ss" ) &"<strong>" Items: </strong>" .....and so on.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

View solution in original post

2 REPLIES 2
KranthiTupakula
Responsive Resident
Responsive Resident

What exactly are you facing the issue with?
yashag2255
Dual Super User II
Dual Super User II

Hi @NathanFra 

 

To display date and time above items, you can update the expression to:

 

"<h3>Patient Valuable Log</h3>" & Text( Now(), "[$-en-US]mm/dd/yyyy hh:mm:ss" ) &"<strong>" Items: </strong>" .....and so on.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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
Users online (3,189)