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 / Office365 Hire Date co...
Power Apps
Answered

Office365 Hire Date connection wrong

(0) ShareShare
ReportReport
Posted on by

Hi, I am trying to set the hire date on a form for users. I would like this to be read-only, so that they cannot change the date they were hired on. However, the O365 connection keeps giving incorrect dates.... any ideas?

 

Code.pngStart.png

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    Two things you'll need to do.

     

    1) You need to check whether hiredate is filled in on their User Profile or not.  The date displaying currently in your screenshot is the equivalent of a zero date.

    2) You will also need to adjust for the TimeZone offset.  The date is stored in the profile in UTC.  You can adjust that to the local time using this formula in the default date

    DateAdd( Office365Users.MyProfileV2().hireDate, TimeZoneOffset(), Minutes)

    I tried it and if the hire date is filled in that works for me.

  • Community Power Platform Member Profile Picture
    on at

    This is a silly question but.... where can I check if it is filled out or not?

  • Verified answer
    Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    Office 365 SharePoint admin center under 'Classic Features'.  There you will find entry into the old User Profile service.  Inside that you can 'Manage User Profiles'.  Then search for a particular user profile and check the hire date.

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Community Power Platform Member Profile Picture
    on at

    That would explain it - no hire dates. Thanks for you help!

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