Notifications
Announcements
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?
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.
This is a silly question but.... where can I check if it is filled out or not?
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.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268