# Date Calculation

**URL:** <https://forum.kirupa.com/t/date-calculation/239322>\
**Category:** flash\
**Created:** [September 20, 2007, 2:46pm UTC](https://forum.kirupa.com/t/date-calculation/239322 "2007-09-20T14:46:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhanna2](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@rhanna2](https://forum.kirupa.com/u/rhanna2)\
**Post date:** [September 20, 2007, 2:46pm UTC](https://forum.kirupa.com/t/date-calculation/239322/1 "2007-09-20T14:46:00Z")

</div>

Hello,  
I have a basic question regarding calculating the difference between two days.

The user will enter two dates in input text fields and I need to calculate the number of days difference between them.

For example a user may enter 092307 as the from date and 092607 as the to date. I need to have the number display as the number of days between them.

Thank you for any assistance you can provide.
