First published on MSDN on Jun 08, 2016
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.
Authored by Nonki Takahashi
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.
Published Feb 13, 2019
Version 1.0NonkiTakahashi
Iron Contributor
Joined February 02, 2019
Small Basic Blog
Follow this blog board to get notified when there's new activity