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 Platform Community / Forums / Power Apps / Create Maintenance Log
Power Apps
Suggested Answer

Create Maintenance Log

(3) ShareShare
ReportReport
Posted on by
I’m currently enrolled on the powerup program in video 11, Creating a maintenance Log, on 1 of the columns it asks to enter the following formula

DateDiff(‘Date Observed’,Now(),Timeunit.Days)

Once this formula is entered it isn’t allowing me to save the column I have followed the videos to the letter and have double checked all previous videos and columns. If you would be able to help and provide a solution so I can carry on with the course it would be greatly appreciated.

 
I have the same question (0)
  • Suggested answer
    KeithAtherton Profile Picture
    3,705 Most Valuable Professional on at
    Hey. I've seen this issue before - try changing Now() to UTCNow().
  • CU04101432-0 Profile Picture
    9 on at
    @KeithAtherton
     
    Thanks for that suggestion, it worked for me. 
     
    I'm a little confused though. "Now" was accepted in the Power Fx for the previous column, as it is for the following column ("Issue Age").
     
    How come? Why is it accepted sometimes and not others? What's the difference (in newbie terms) between UTCNow and Now?
     
    Thanks!
  • jt1024 Profile Picture
    22 on at
    Hello I have the same problem,


    But UTCNow is not fixing the problem for me.

    I ended up having to use
    UTCToday()

    My final formula is;
    //
    DateDiff('Date Observed',UTCToday(),TimeUnit.Days)

    Then it would finally let me save.





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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard