Discussion:
Trouble with Accurate Age Calculation on My Website

I've been experiencing some issues with calculating ages accurately on my website. The age displayed seems to be off by one year in some cases check https://yashesaplama.com.tr/. I've double-checked the date inputs and the logic used for calculation, but the problem persists.

Has anyone else encountered a similar issue? Could it be a problem with the leap year calculation or the way I'm handling date formats? Any insights or suggestions on how to fix this would be greatly appreciated!
  • Posted 3 Aug 2024 20:05
  • Modified 3 Aug 2024 20:49 by poster
  • By Mark_Buchter
  • joined 3 Aug'24 - 2 messages
  • Pakistan

Post your Reply

Forkliftaction accepts no responsibility for forum content and requires forum participants to adhere to our rules of conduct. Click here for more information.

If you are having trouble using the Discussion Forums, please contact us for help.

Upcoming industry events …
September 8-9, 2026 - Barcelona, Spain
November 10-12, 2026 - Marina Bay Sands, Singapore
November 17-19, 2026 - Luanda, Angola
Fact of the week
The Horsey Horseless was an early automobile prototype invented in 1899 by Uriah Smith, a Seventh-day Adventist preacher, in Battle Creek, Michigan. A wooden horse head and neck was attached to the front of the vehicle, as it was believed to prevent frightening horses on the road.

PREMIUM business

Powerfleet
AI-enabled safety and compliance solutions for material handling operations.
Movers & Shakers
Dr Lars Brzoska Dr Lars Brzoska
Chief executive officer, Jungheinrich
Vice president sales and marketing, Hangcha Forklift America (HCFA)
Chief revenue officer, Trew, Intelligrated and Transnorm
Managing director sales & service, STILL