11-28-2018, 02:57 AM
Wow Kevin this is exactly what I was looking for. Definitely much cleaner than what I was trying too.
This works great but I was wondering if you could write a quick explanation of this portion of code?
I get the gist of it but I've never seen the #sub tag used before.
This works great but I was wondering if you could write a quick explanation of this portion of code?
#sub GetFirstDayOfaMonth
function year month DateTime&dt
int day=1
dt.FromParts(year month day)
ret
I get the gist of it but I've never seen the #sub tag used before.