Jump to content

Problem with Date Format


Susie
 Share

Recommended Posts

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 ?

Link to comment
Share on other sites

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...