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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

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



Mar 7, 2001, 1:21 PM

Post #1 of 2 (376 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???


Mar 7, 2001, 5:03 PM

Post #2 of 2 (374 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