Sign in to follow this  
Followers 0
Susie

Problem with Date Format

4 posts in this topic

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



#2 ·  Posted (edited)

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

Many thanks - that works a treat.

Share this post


Link to post
Share on other sites

Welcome

8)


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  
Followers 0