Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

w2ksp4.exe, WwwxxXdbf, procmail "FROM_MAILER" patch, Use of assignment to $[ is deprecated at /usr/local/sbin/apxs line 86. , wwwxxx vim, mysql closing table and opening table, 800c5000, setgid operation not permitted, pciehp: acpi_pciehprm on IBM, WWWXXX.DBF

Links

XODOX
Impressum

#1: how to get the current date in FMP ?

Posted on 2008-04-15 11:54:12 by chrem

Bonjour,

I would like to use the "date of to day" in some FM scripts (I am
currently using FMP 9). But I could not find any function nor variable
returning/containing this value !
This is to display tasks which have to be done for the day, I will
compare the "task->dueDate" with the current date and display it if it
matches.

Thanks for your help

Christophe

Report this message

#2: Re: how to get the current date in FMP ?

Posted on 2008-04-15 12:29:02 by E W P Appeldoorn

Try the helpfile and look for date functions.

keep well, Ursus

"chrem" <test@test.gl> schreef in bericht
news:48047b44$0$28799$426a34cc@news.free.fr...
> Bonjour,
>
> I would like to use the "date of to day" in some FM scripts (I am
> currently using FMP 9). But I could not find any function nor variable
> returning/containing this value !
> This is to display tasks which have to be done for the day, I will compare
> the "task->dueDate" with the current date and display it if it matches.
>
> Thanks for your help
>
> Christophe

Report this message

#3: Re: how to get the current date in FMP ?

Posted on 2008-04-15 14:46:11 by chrem

E W P Appeldoorn a écrit :
> Try the helpfile and look for date functions.
>
> keep well, Ursus
>
> "chrem" <test@test.gl> schreef in bericht
> news:48047b44$0$28799$426a34cc@news.free.fr...
>> Bonjour,
>>
>> I would like to use the "date of to day" in some FM scripts (I am
>> currently using FMP 9). But I could not find any function nor variable
>> returning/containing this value !
>> This is to display tasks which have to be done for the day, I will compare
>> the "task->dueDate" with the current date and display it if it matches.
>>
>> Thanks for your help
>>
>> Christophe
>
>
Thanks Ursus, but .... it did not help, I just want to know how to
define in FMPro smth like : action->dueDate =< date(currentDate)

date(currentDate) is my problem, FMPro does not accept it !

Report this message

#4: Re: how to get the current date in FMP ?

Posted on 2008-04-15 15:15:37 by chrem

E W P Appeldoorn a écrit :
> Try the helpfile and look for date functions.
>
> keep well, Ursus
>
> "chrem" <test@test.gl> schreef in bericht
> news:48047b44$0$28799$426a34cc@news.free.fr...
>> Bonjour,
>>
>> I would like to use the "date of to day" in some FM scripts (I am
>> currently using FMP 9). But I could not find any function nor variable
>> returning/containing this value !
>> This is to display tasks which have to be done for the day, I will compare
>> the "task->dueDate" with the current date and display it if it matches.
>>
>> Thanks for your help
>>
>> Christophe
>
>
Finally it seems that "get(CurrentDate)" do the job.
Thanks Ursus, your answer shown me that it was at least possible

Best Regards,

Christophe

Report this message

#5: Re: how to get the current date in FMP ?

Posted on 2008-04-15 19:45:03 by d-42

On Apr 15, 3:29 am, "E W P Appeldoorn" <ursus.k...@orange.nl> wrote:
> Try the helpfile and look for date functions.
>
> keep well, Ursus

Ursus,

While I'm all for telling people to RTFM, in this case its not in the
date functions, its a "Get" function as I'm sure you know, but you may
not know that there is perversely and annoyingly no mention of it
whatsoever in the help about 'date functions'. I've seen lots of
people get tripped up on this, even if they read the help.

-cheers,
Dave

Report this message

#6: Re: how to get the current date in FMP ?

Posted on 2008-04-16 06:25:44 by Helpful Harry

In article <48047b44$0$28799$426a34cc@news.free.fr>, chrem
<test@test.gl> wrote:

> Bonjour,
>
> I would like to use the "date of to day" in some FM scripts (I am
> currently using FMP 9). But I could not find any function nor variable
> returning/containing this value !
> This is to display tasks which have to be done for the day, I will
> compare the "task->dueDate" with the current date and display it if it
> matches.
>
> Thanks for your help
>
> Christophe

The function you want is: Get(CurrentDate)

The "Get" functions have lots of useful abilities.

Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)

Report this message

#7: Re: how to get the current date in FMP ?

Posted on 2008-04-16 07:26:39 by chrem

Helpful Harry a écrit :
> In article <48047b44$0$28799$426a34cc@news.free.fr>, chrem
> <test@test.gl> wrote:
>
>> Bonjour,
>>
>> I would like to use the "date of to day" in some FM scripts (I am
>> currently using FMP 9). But I could not find any function nor variable
>> returning/containing this value !
>> This is to display tasks which have to be done for the day, I will
>> compare the "task->dueDate" with the current date and display it if it
>> matches.
>>
>> Thanks for your help
>>
>> Christophe
>
> The function you want is: Get(CurrentDate)
>
> The "Get" functions have lots of useful abilities.
>
> Helpful Harry
> Hopefully helping harassed humans happily handle handiwork hardships ;o)
Thanks a lot to all for your help,
Have a nice day,
Christophe

Report this message

#8: Re: how to get the current date in FMP ?

Posted on 2008-04-16 19:58:18 by E W P Appeldoorn

"d-42" <db.porsche@gmail.com> schreef in bericht
news:2077fb23-ad67-4f91-8717-e7d97df36523@w5g2000prd.googleg roups.com...
> On Apr 15, 3:29 am, "E W P Appeldoorn" <ursus.k...@orange.nl> wrote:
>> Try the helpfile and look for date functions.
>>
>> keep well, Ursus
>
> Ursus,
>
> While I'm all for telling people to RTFM, in this case its not in the
> date functions, its a "Get" function as I'm sure you know, but you may
> not know that there is perversely and annoyingly no mention of it
> whatsoever in the help about 'date functions'. I've seen lots of
> people get tripped up on this, even if they read the help.
>
> -cheers,
> Dave
>
>
>

Your concern has been noted, and I agree that the get(currentdate) (and
curenthosttimestamp and currenttimestamp) should be listed under the date
functions in the help file. I should have directed the OP to the get
functions.

Keep well, Ursus

Report this message