Date Calculator – Small Basic Sample Program

I wrote a date calculator program in Small Basic.  The program ID is JQQ629.

This program calculates days between two dates.  To calculate days, dates are converted to Julian days.


There are two convert subroutines DateToJD() and JDToDate().  To test these two subroutines, I wrote unit test subroutine UnitTest().  You can see the test if change "False" to "True" in line 9.

Comments (3)
  1. YLed says:

    Splendid !

  2. Lio says:

    Dead link to program? returns 404 Not Found

  3. Lio, I forgot ? in the url. Thanks.

Comments are closed.

Skip to main content