Using Variables with DateLocal>

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
migro
Macro Veteran
Posts: 151
Joined: Thu Nov 06, 2003 5:23 pm
Location: Germany
Contact:

Using Variables with DateLocal>

Post by migro » Sun Sep 02, 2012 7:47 pm

Hi,

Using the function as described in the help will work:

DateLocal>2014,03,21,theDate

When using an variable for the date it returns an error (missing parameters in function call...):

Let>theDate=2014,03,21
DateLocal>%theDate%,LocalisedDate

Any Ideas?
regards
migro

olllllliii
Pro Scripter
Posts: 60
Joined: Tue Dec 22, 2009 9:51 am
Location: Mannheim ( Germany )
Contact:

Post by olllllliii » Mon Sep 03, 2012 4:46 am

Hi ,

Datelocal expects to get 4 spearated elements ....

this is the way it works :-)

Let>comma=,
Let>theDate={"2014,03,21"}
separate>theDate,comma,DateArr
DateLocal>%DateArr_1%,%DateArr_2%,%DateArr_3%,LocalisedDate
Messagemodal>LocalisedDate

Kind regards Oli
Oliver Hilger Mannheim
alias Olllllliii

User avatar
migro
Macro Veteran
Posts: 151
Joined: Thu Nov 06, 2003 5:23 pm
Location: Germany
Contact:

Post by migro » Mon Sep 03, 2012 10:41 am

Hi Olli,

thanks for resolving this. I thought that the date was given as an normal string not as an array.

P.s. Auch regards from Mannheim ;-)
regards
migro

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts