Set System Time

Discussion in 'Software' started by ceal21c, Jul 13, 2006.

  1. ceal21c

    ceal21c Private E-2

    Hey Guys,

    Can someone point me to a good VB6 syntax reference guide? I need help with the Time function, specifically setting the system time.
     
  2. matt.chugg

    matt.chugg MajorGeek

    to see the time just call time

    Code:
    msgbox(Time)
    
    to show the time in a differnt format use the format command

    Code:
    msgbox(format(time,"HH:MM:SS"))
    

    To set the time just use time=something.

    Matt
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds