bluestarcpc
Technical User
I have a field on a form called payweek_start
It is not a flash form.
payweek_start is defined as type=text
<CFInput name="payweek_start" type = "text">
payweek_start displays as 2005-01-24 00:00:00
I need to do 2 things
I would like to display payweek_start as 02/24/2005
and
I would like the day1.value to show as 24
day1.value = PayItemList[SelIndex+1].payweek_start
since I am not using flash, I cannot use dateformat or mask
what is the best way to parse out a date string
It is not a flash form.
payweek_start is defined as type=text
<CFInput name="payweek_start" type = "text">
payweek_start displays as 2005-01-24 00:00:00
I need to do 2 things
I would like to display payweek_start as 02/24/2005
and
I would like the day1.value to show as 24
day1.value = PayItemList[SelIndex+1].payweek_start
since I am not using flash, I cannot use dateformat or mask
what is the best way to parse out a date string