Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues > ColdFusion

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-28-2009, 08:24 PM   PM User | #1
moiseszaragoza
New Coder

 
Join Date: Feb 2007
Location: FL
Posts: 35
Thanks: 4
Thanked 0 Times in 0 Posts
moiseszaragoza is an unknown quantity at this point
Explode, Slit

I have a date 08-22-1983 and i need to spit it into 3 part
08
22
1983

Any ides how do do this?
Thanks
moiseszaragoza is offline   Reply With Quote
Old 06-30-2009, 01:43 AM   PM User | #2
Gjslick
Regular Coder

 
Join Date: Feb 2009
Location: NJ, USA
Posts: 476
Thanks: 2
Thanked 70 Times in 69 Posts
Gjslick will become famous soon enough
Code:
<cfset myDate = parseDateTime( '08-22-1983' )>

<cfoutput>
#month( myDate )#
#day( myDate )#
#year( myDate )#
</cfoutput>
Altho a simple search of google probably would have revealed this a lot quicker...
Gjslick is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:59 PM.


Advertisement
Log in to turn off these ads.