stefionesco Posted April 21, 2017 Share Posted April 21, 2017 How can I read/write the time value in an INI file? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 21, 2017 Moderators Share Posted April 21, 2017 @stefionesco If you just want to write the time right now into an INI file, you could use IniWrite and _NowTime() #include <Date.au3> IniWrite(@DesktopDir & "\my.ini", "Time", "NowTime", _NowTime()) If you're looking for more, you need to offer more by way of explanation. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
stefionesco Posted April 21, 2017 Author Share Posted April 21, 2017 28 minutes ago, JLogan3o13 said: @stefionesco If you just want to write the time right now into an INI file, you could use IniWrite and _NowTime() #include <Date.au3> IniWrite(@DesktopDir & "\my.ini", "Time", "NowTime", _NowTime()) If you're looking for more, you need to offer more by way of explanation. Oh, I got it. I just want to add the date (_NowDate) on a script. I didn't figure out what is the function to use. You clear my idea. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now