Jump to content

Recommended Posts

Posted (edited)

Using the code:

$mm = _DateMonthOfYear(10,1)

I get :

$mm = _DateMonthOfYear(10,1)

^ERROR

Error: Unknown function name.

Is this a bug? Or, am I simply functionally challenged? Does anyone have any insight as to what might be the problem?

Ultimately, I would like to execute

$mm = _DateMonthOfYear(@MON, 1)

to get the month.

Thank you in advance.

-G

Edited by gstroutz
Posted

Do you have

#include <Date.au3>

at the top of your script?

No I did not... and putting that in seemed to make a world of difference!

Thanks.

:lmao:

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
  • Recently Browsing   0 members

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