microsoft dynamics 365 current year code example Example: get year from date x++ year(systemdateget())