|sDlgTitle||(String) Title of the window.|
|nStyle||(Long) Bit flags defining window type and content.
It is possible to enter the following styles or their combinations as a sum:
&H100 - Setting only the date (year, month, day).
&H200 - Setting only the time (hour, minute, second).
&H10000000 - Window will be "Always on top".
|vDateTime||[for read and write] (Date)
on the calling: the default value of date and time for the window.
after the calling: the entered value of date and time (if the window is closed by the "OK" button).
dtNew = Pm.Time
If Pm.InputBoxForDateTime("Enter the time", 0, dtNew) Then
' Date and time entered OK in the variable of the Date type