|
Forum Index : Microcontroller and PC projects : DateAdd() Function added to library
| Author | Message | ||||
| CaptainBoing Guru Joined: 07/09/2016 Location: United KingdomPosts: 2171 |
Inspired by and similar in concept to the VB function of the same name. This function will manipulate date+time strings to add/subtract various intervals - great for setting the invoice due date http://fruitoftheshed.com/MMBasic.DateAdd-Function-VB-work-a-like.ashx?NoRedirect=1&NS=MMBasic I have not written code for quarters and day number (of the year) etc as they are a bit "fringe" (?) also I made minutes and months intervals a bit more intuitive (well at least to me). I plan to do a DateDiff work-a-like soon which will pretty much complete the date calculation suite. enjoy |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3308 |
Excellent. Geoff Graham - http://geoffg.net |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |