Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
timeformat Question
#3
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?

Code:
Copy      Help
#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.


Messages In This Thread
timeformat Question - by BJ - 11-27-2018, 05:40 PM
RE: timeformat Question - by Kevin - 11-27-2018, 10:45 PM
RE: timeformat Question - by BJ - 11-28-2018, 02:57 AM
RE: timeformat Question - by Kevin - 11-28-2018, 03:38 AM
RE: timeformat Question - by BJ - 11-28-2018, 04:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)