Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Unhandled Script Exception Invalid 29 in date function

(0) ShareShare
ReportReport
Posted on by 2,512

When running a payroll calculate we are getting the following error....

Unhandled Script Exception:

Invalid date '29 in date function. script terminated


This Payroll is for a date range that includes 2/29/2016.

*This post is locked for comments

  • Almas Mahfooz Profile Picture
    Almas Mahfooz 11,006 User Group Leader on at
    RE: Unhandled Script Exception Invalid 29 in date function

    wow, nice information share.

  • WindyCityGP Profile Picture
    WindyCityGP 1,051 on at
    RE: Unhandled Script Exception Invalid 29 in date function

    I talked to Microsoft yesterday and it is a known issue.  As a work around, they suggested changing the date for anyone with a start date of 2/29/xxxx to a day before or after.  Didn't sound as though there would be a service pack anytime soon since the conditions only occur every 4 years.

  • WindyCityGP Profile Picture
    WindyCityGP 1,051 on at
    RE: Unhandled Script Exception Invalid 29 in date function

    I received this same error today.  I went into the Control Panel>>Region and Language and changed the "Short Date" format to MM/DD/YYYY on that workstation experiencing the error.  We removed the build and logged out/back into GP.  We ran the build again, and did not receive the error.  So far, no other workstations have had this issue, but they will be doing more payroll next week that may cross the 2/29 date.

    Hope this helps!

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans