Re: [ cf-dev ] splitting up date string...

2003-01-07 Thread Ian Westbrook
I'll try that, but I already got what I want ;-) ta Ian - Original Message - From: "Justin MacCarthy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 11:27 AM Subject: RE: [ cf-dev ] splitting up date string... > Will >

RE: [ cf-dev ] splitting up date string...

2003-01-07 Thread Justin MacCarthy
Will ParseDateTime(date/time-string [, pop-conversion ] ) give you what you want ? @J > -Original Message- > From: Ian Westbrook [mailto:[EMAIL PROTECTED]] > Sent: 07 January 2003 10:59 > To: cfug dev list > Subject: [ cf-dev ] splitting up date string... > &g

Re: [ cf-dev ] splitting up date string...

2003-01-07 Thread Ian Westbrook
ta ;-) Ian - Original Message - From: "Tom Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 11:20 AM Subject: Re: [ cf-dev ] splitting up date string... > try this instead as it's better coding practice. You don't

RE: [ cf-dev ] splitting up date string...

2003-01-07 Thread Aidan Whitehall
> testday: 7 > testmonth: 1 > testyear: 2003 > > which suits my purposes, although not if I wanted 07, 01 etc... Then when you output it, use NumberFormat(testday, "00"). NumberFormat with that mask (the 00 bit) pads the variable 'testday' with a leading zero. -- Aidan Whitehall <[EMAIL PROTEC

Re: [ cf-dev ] splitting up date string...

2003-01-07 Thread Tom Smith
m: "Ian Westbrook" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 11:07 AM Subject: Re: [ cf-dev ] splitting up date string... > hmm, that kind of does it: > > > > > > > testday: 7 > testmonth: 1 > testyear: 200

Re: [ cf-dev ] splitting up date string...

2003-01-07 Thread Ian Westbrook
will try (and see other post). ta Ian W - Original Message - From: "Martin Gill" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 11:05 AM Subject: RE: [ cf-dev ] splitting up date string... Personally I'd use Providing that t

Re: [ cf-dev ] splitting up date string...

2003-01-07 Thread Ian Westbrook
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 11:03 AM Subject: RE: [ cf-dev ] splitting up date string... > DatePart(), or use List functions to tear it apart. > > Ade > > -Original Message- > From: Ian Westbrook [mailto:[EMAIL PROTECT

RE: [ cf-dev ] splitting up date string...

2003-01-07 Thread Martin Gill
t Subject: [ cf-dev ] splitting up date string... Hi got a date astring like 2003-01-07, and I want to split it into its constituent parts (ie '2003', '01' and '07'). Can anyone tell me which function I should be using? I've had a flick through the book, obvio

RE: [ cf-dev ] splitting up date string...

2003-01-07 Thread Adrian Lynch
DatePart(), or use List functions to tear it apart. Ade -Original Message- From: Ian Westbrook [mailto:[EMAIL PROTECTED]] Sent: 07 January 2003 10:59 To: cfug dev list Subject: [ cf-dev ] splitting up date string... Hi got a date astring like 2003-01-07, and I want to split it into its

[ cf-dev ] splitting up date string...

2003-01-07 Thread Ian Westbrook
Hi got a date astring like 2003-01-07, and I want to split it into its constituent parts (ie '2003', '01' and '07'). Can anyone tell me which function I should be using? I've had a flick through the book, obviously missing what I need... TIA Ian W Ian Westbrook, FutureDream Media Limited, (W):