חותם זמן – הבדלי גרסאות
תוכן שנמחק תוכן שנוסף
תגית: שוחזרה |
תגית: שוחזרה |
||
שורה 44:
dot = "."
'Individual date components
hh = Right("00" & Hour(dtsnow), 2)▼
yy = Year(dtsnow)
nn = Right("00" & Minute(dtsnow), 2)
ss = Right("00" & Second(dtsnow), 2)
'Concatenate both together to build the timestamp yyyy-mm-dd hh:mm:ss:milliseconds ▼
dtsvalue = timevalue & dot & milliseconds▼
'Build the time string in the format hh:mm:ss
objTextFile.WriteLine (dtsvalue)▼
timevalue = hh & ":" & nn & ":" & ss
objTextFile.Close
|