[FX.php List] Re: UPS XML tools

Erik Andreas Cayré erik at cayre.dk
Sun Apr 15 01:46:26 MDT 2007


<late_followup>
	I'm on holiday and now have time to browse the FX list for gold...
</late_followup>

Den 23/03/2007 kl. 23.00 skrev Alex Gates:

> For the archives:
> If anyone wants to use this method, be sure to construct the "pickup
> date" properly - (YYYYMMDD) -
>
> Date:  Year ( Get ( CurrentDate ) ) & Month & Day
>
> Month:  Case (Month ( Get ( CurrentDate ) ) < 10;"0"&Month ( Get (
> CurrentDate ) ) ;Month ( Get ( CurrentDate ) ))
> Day:   Case (Day ( Get ( CurrentDate ) ) < 10;"0"&Day ( Get (
> CurrentDate ) ) ;Day ( Get ( CurrentDate ) ))
>
> Alex

I just had to give out my may of doing the date thing:

Month: Right ("0" & Month ( Get (CurrentDate) ); 2)
Day: Right ("0" & Day ( Get (CurrentDate) ); 2)

It's easier to read (and maybe even a little faster?)

---
Erik Andreas Cayré
Spangsbjerg Møllevej 169
DK-6705 Esbjerg Ø

Home Tel: +45 75150512
Mobile: +45 40161183

»If you can't explain it simply, you don't understand it well enough.«
-- Albert Einstein

»If you don't have time to do it right, when will you have time to do  
it over?«
-- John Wooden, basketball coach




More information about the FX.php_List mailing list