Hi all,
i've a problem with DateTime, when i use this code
Dim c As Int = DateTime.GetDayOfWeek(DateTime.DateParse(pData))
where pdata = 2015 11 01
c = 5 (sunday) and it's true
when i pass pData = 2015 10 01
c = 5 (sunday) and it's false the true value is 2
why ?
where i wrong ?
This is the log
Program started.
1420067460000
2015 11 01
5
1420067400000
2015 10 01
5
Thanks
i've a problem with DateTime, when i use this code
Dim c As Int = DateTime.GetDayOfWeek(DateTime.DateParse(pData))
where pdata = 2015 11 01
c = 5 (sunday) and it's true
when i pass pData = 2015 10 01
c = 5 (sunday) and it's false the true value is 2
why ?
where i wrong ?
This is the log
Program started.
1420067460000
2015 11 01
5
1420067400000
2015 10 01
5
Thanks