Code: Select all
#fmt = "%yyyy %mm %dd %hh %ii %ss"
test.q = Date( Year( Date() ) ,
Month( Date() ) ,
Day( Date() ) ,
00 ,
29 ,
00 )
Debug FormatDate( #fmt, test )
Debug Month(test)
test = AddDate( test, 1, #PB_Date_Day )
Debug FormatDate( #fmt, test )
Debug Month(test)
What am i doing wrong?[18:05:23] 2024 04 12 00 29 00
[18:05:23] 4
[18:05:23] 2024 07 12 00 29 00
[18:05:23] 7
