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
>
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
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
> 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
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
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
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
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
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
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):
10 matches
Mail list logo