|
-
Feb 16th, 2002, 03:16 AM
#1
Thread Starter
Junior Member
extracting hours,min and sec from system time
hi,
i needed to extract the current hours, min and sec from the system time and store it in 3 variables - h, m and s. but i am unable to extract the min. hour and sec can be extracted correctly. i am using this code. could you kindly point out as to where i'm going wrong --
h = Format(Time, "HH")
m = Format(Time, "MM")
s = Format(Time, "SS")
m is always displayed as 12.
thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|