Jump to content
Sign in to follow this  
Susie

Problem with Date Format

Recommended Posts

Susie

I am running the following :

$valuationDate = IniRead($curDir & "\" & $settingsFileName, "settings", "ValuationDate", "")

from the settings file (below)

[settings]

ValuationDate=091806

and receiving the following error:

ValuationDate Setting is invalid.

Any ideas ?

Share this post


Link to post
Share on other sites
Valuater

is there more code than that???

maybe this...

$valuationDate = IniRead($curDir & "\" & $settingsFileName, "settings", "ValuationDate", "")

needs this

$valuationDate = IniRead(@ScriptDir & "\" & $settingsFileName, "settings", "ValuationDate", "")

and

[settings]

to [settings]

... hard to tell , not enough info ( script )

8)

BTW.... Welcome to Autoit!!!

Edited by Valuater

NEWHeader1.png

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
Sign in to follow this  

×