Sub Activity_Create(FirstTime As Boolean)
ToastMessageShow("Check the logs...", True)
Log("Today is " & DateUtils.GetDayOfWeekName(DateTime.Now))
Log("There are " & DateUtils.NumberOfDaysInMonth(DateTime.GetMonth(DateTime.Now), _
DateTime.GetYear(DateTime.Now)) & " days in this month.")
Dim targetDate As Long = DateUtils.SetDate(2017, 4, 5)
Dim timeToDate As Period = DateUtils.PeriodBetween(DateTime.Now, targetDate)
Log(timeToDate)
Log("Time left to 2017/04/05: " & timeToDate.Months & " months, " & timeToDate.Days & " days")
End Sub