Search found 2 matches

by doogle
Thu Jul 24, 2014 8:29 am
Forum: BASIC programs
Topic: Date Functions
Replies: 3
Views: 2731

Re: Date Functions

Thanks for the comments. It was an interesting task and could do with tidying up. If you could add the functionality into the core poduct that would be great.
by doogle
Wed Jul 23, 2014 5:23 pm
Forum: BASIC programs
Topic: Date Functions
Replies: 3
Views: 2731

Date Functions

This is my first attempt to code in Smart Basic. Coming from VB6 I found I had a need for Date Functions such as DateAdd (add a number of Days to a Date), DateDiff (calculate the number of Days between 2 Dates) and DayOfWeek for a given Date; so I had a go. Code is below. Any / all constructive crit...