stefionesco Posted April 21, 2017 Posted April 21, 2017 How can I read/write the time value in an INI file?
Moderators JLogan3o13 Posted April 21, 2017 Moderators 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!
stefionesco Posted April 21, 2017 Author 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.
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