datetime bug
I believe you but on my system (windows 8 professional) the below code logs
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("years")
currentMonth = DateTime.GetMonth(DateTime.Now)
currentDay = DateTime.GetDayOfMonth(DateTime.Now)
Log("running DateTime.GetDayOfMonth(DateTime.Now) sets currentDay to = " & currentDay)
get_years
get_months
get_days
End Sub
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (years) Create, isFirst = true **
running DateTime.GetDayOfMonth(DateTime.Now) sets currentDay to = 28
wierd, I can work around it by adding one to the results but not sure why this is happening to me and not you .......
dougc