Re: the 'date()' function

new topic     » goto parent     » topic index » view thread      » older message » newer message

eel picton wrote:

> hello... can anyone help please???
> 
> i've tried using the 'date()' function in a euphoria program as shown
> in the 'library' text.
> 
> e.g. now = date()
> 
> (where 'now' has already been declared as a sequence)
> 
> however this generates the error "'date' has not been declared"
> 
> the 'library' description of 'date()' does not state that one of the
> 'include' files must be 'included' e.g. 'misc.e' or 'get.e'
> 
> so i am not sure what i've missed...
> 
> thank you for any ideas or advice you may be able to offer...

In cases like this, it's always a good idea to post the *actual code*
that you use here, rather then trying to describe the code in prose.

I just tested the following:
sequence now
now = date()


It runs fine of course, using the DOS and the Windows Euphoria 2.4
interpreter. Maybe you wrote 'now = date' instead of 'now = date()'? smile

Regards,
   Juergen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu