CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
split command for date

 



casa3311
Deleted

Mar 7, 2001, 1:21 PM

Post #1 of 2 (288 views)
     split command for date  

I posted this first in the Beginners Forum, but think it's better suited for this Forum.

I have a date that is coming from a form in MM/DD/YYYY format (ex. 3/7/2001) and I need to write it to an Oracle database in, for example, 03-MAR-2001 format. This date can also be null, so it might come in as MM/DD/YYYY in which case, I set the value to NULL otherwise I convert it to the proper format. I understand how to use the split command if you are separating the fields with a space, or a comma, or or any other character, but how do you split a record that is using the / as the field separator???



wickedxter
User

Mar 7, 2001, 5:03 PM

Post #2 of 2 (286 views)
     Re: split command for date [In reply to]  

i answered this questing the the biginner fourm place


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives