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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Calculated field based on date

(0) ShareShare
ReportReport
Posted on by 163

I need to create a calculated field based on a date. I am working with a school database and I was able to create a calculated field to figure out their age. But I need to create another calculated field to identify their date at the start of the school year. This is the age calculation 

DiffInYears(asa_studentdob, Now()).

What I want to do is replace the Now() with the first day of school. If I add a date it gives me an error. Is there a way to do this?

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    You could create new custom field of type date to store the first day of school and use that in your calculated field.

  • RyeTeacher Profile Picture
    163 on at

    There is no way to convert a date? It seems weird to have a custom field with the same date for every record.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 93

#2
Subra Profile Picture

Subra 90

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 72 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans