Jump to content
stefionesco

Time value - INI file

Recommended Posts

stefionesco

How can I read/write the time value in an INI file?

Share this post


Link to post
Share on other sites
JLogan3o13

@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.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
stefionesco
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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.