Search the Community
Showing results for tags '_DateTimeSplit Bug'.
Is the following an issue or the desired results? When using _DateTimeSplit() 2 digit days or months are given but the return is a single digit. This can be seen in the help example for _DateTimeSplit. #include <Date.au3> Local $MyDate, $MyTime _DateTimeSplit("2005/01/01 14:30", $MyDate, $MyTime) For $x = 1 To $MyDate MsgBox(0, $x, $MyDate[$x]) Next For $x = 1 To $MyTime MsgBox(0, $x, $MyTime[$x]) Next The return shows: Month = 1 and Day = 1 I would expect it to show: Month = 01 and Day = 01. This is keeping with the format of most the other date functions and the more importa