![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | |
SCENARIO
I needed to extract the current hours, min and sec from the System time and store it in 3 [gs variable]s - h, m and s.
SOLUTION
h = Format(Time, "HH")
m = Format(Time, "NN")
s = Format(Time, "SS")
HEELPBOOK STAFF: to extract correctly minutes from System date you will have to use NN and not MM.
SOURCE | LINK (vbforums.com) | LANGUAGE | ENGLISH |