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[0]
MsgBox(0, $x, $MyDate[$x])
Next
For $x = 1 To $MyTime[0]
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 importantly the input. Thanks for your response. FYI - I searched the forum and the Bug reports but did not see this issue.