Gary:

Try $mydate = replace($mydate,"/","")

$mydate is, of course, the var you have used for the date string.

Neal Quinn
  ----- Original Message ----- 
  From: Gary Williams 
  To: [email protected] 
  Sent: Monday, March 05, 2007 2:05 PM
  Subject: [Talk] reformating dates


  I am working on a new script and my input file from pharmacy has the date as 
07/14/2004. The meditech field wants it in a format of 07042004. Can the script 
remove the "/"? 
   
  Thanks
  Gary Williams
  Data Tech
  Memorial Hospital

Reply via email to