cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mssss
Helper V
Helper V

convert date only to date with timestamp.

I have date only column in dataverse.

I would like to convert date only to date with timestamp.

This is because to use create event(V4).

I have checked following document but cannot find how to covert.

Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

 

Any help would be appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User II
Super User II

Hi @mssss,

 

Do you have any requirement for a specific time? You could just hard-code a time value with a formatdatetime function in an expression.

 

Below is an example which takes a startdate variable date and adds 12:00 timestamp to it.

You can replace that variable by your dataverse date column.

 

 

formatDateTime(variables('StartDate'), 'yyyy-MM-ddT12:00:00.0000000Z')

 

 

 

addtimestamp.png

 

View solution in original post

2 REPLIES 2
Expiscornovus
Super User II
Super User II

Hi @mssss,

 

Do you have any requirement for a specific time? You could just hard-code a time value with a formatdatetime function in an expression.

 

Below is an example which takes a startdate variable date and adds 12:00 timestamp to it.

You can replace that variable by your dataverse date column.

 

 

formatDateTime(variables('StartDate'), 'yyyy-MM-ddT12:00:00.0000000Z')

 

 

 

addtimestamp.png

 

View solution in original post

@Expiscornovus 

Worked !! Thank you so much!!

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,105)