t = Pm.ScanDate(sDate, vFormat)
|sDate||(String) Variable of the String type (date and time)|
|vFormat||(Variant) Type of the pre-defined conversion of the date and time into the Date type. Only one option can be set so far:|
1 - The internal way of the date and time storing in the PROMOTIC system is in the form of 2017.10.11 15:23:28.082.
Dim sDate, tDate
sDate = "2017.10.11 15:23:28.082"
tDate = Pm.ScanDate(sDate, 1)
'in tDate is the value of the Date data type read from the sDate string