web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Answered

Help needed

(0) ShareShare
ReportReport
Posted on by 28

Hi,

 

I couldn't get this expression to work properly because the 'End Date' is 44815.3333333333 format

 

therefore it is not an integer therefore this expression is invalid. Please advice how can I edit this expression.

 

addDays('1900-01-02',formatnumber(item()['End Date'],'#0'),'MM-dd')

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @r0663664 ,

     

    Please try:

     

    addSeconds('1900-01-02',int(string(mul(mul(mul(item()['End Date'],24.0),60.0),60.0))))

     

    Best Regards,

    Bof

  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi @r0663664 ,

     

    Use below expression:

    Kaif_Siddique_0-1663271453133.png

    formatDateTime(addseconds('1899-12-30',int(formatnumber(mul(float(item()['End Date']),86400),'0'))),'dd-MM-yyyy hh:mm')

    Format datetime as per requirements.

     

    If you like my response, please give it a Thumbs Up.
    If this helps, please Accept as solution.

     

    Regards

    Kaif

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard