There's no real need to split your Date variable.

Just do MONTH(DATE), YEAR(DATE), or DAY(DATE) to
get individual pieces of information out.

Chris Tifer


----- Original Message -----
From: "Chris Janz" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 12:36 PM
Subject: RE: dates


> forgot to add code...  duh...
>
> <%
> dim todaysdate, datearray, getdate
> getdate = formatdatetime(date,2)
> datearray = split(getdate, "/")
> todaysdate = MonthName(datearray(0), True) & ". " & datearray(1) & ", " &
> datearray(2)
> %>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:psayers@;kentcountyarc.org]
> Sent: Monday, November 04, 2002 12:10 PM
> To: ActiveServerPages
> Subject: RE: dates
>
>
> FormatDateTime(date, vbLongDate)
>
>
> -----Original Message-----
> From: Chris Janz [mailto:chris@;iwebsight.com]
> Sent: Monday, November 04, 2002 12:18 PM
> To: ActiveServerPages
> Subject: dates
>
> anyone remember off the top of their heads how to get the date string
> formatted like this:
>
> January 1st, 2002
>
> i remember i can use formatdatetime(now) for the numerical date (with
> seconds)
> or formatdatetime(date) for the 1/1/2002 representation...
>
> i just don't remember how to get the other one...
>
>
> ---
> You are currently subscribed to activeserverpages as:
> [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> %%email.unsub%%
>
> ---
> You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> %%email.unsub%%
>
>
> ---
> You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to