salibes
asked on
GetLocalTime function in VC++
Hello all -
I was wondering how to implement the GetLocalTime function in VC++. I looked at Microsoft documentation and cannont understand it. Can someone give me an example snippet where I can pull the hour and minutes? Maybe AM or PM? Is it in int array format?
Thank you for trying to help
I was wondering how to implement the GetLocalTime function in VC++. I looked at Microsoft documentation and cannont understand it. Can someone give me an example snippet where I can pull the hour and minutes? Maybe AM or PM? Is it in int array format?
Thank you for trying to help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
it will be rewarding if u can give some time to the formating options the later two functions offer...
GetLocalTime(&st)
GetDateFormat(0,DATE_SHORT
GetTimeFormat(0,LOCALE_NOU
where date and time r string buffers.....