stefionesco

Time value - INI file

3 posts in this topic

#1 ·  Posted

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

Share this post


Link to post
Share on other sites



#2 ·  Posted

@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

#3 ·  Posted

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