There has to be a better way of doing this.
m.listdate is the date & time from a SQL table's datetime field. And I currently can't get the milliseconds down, or don't know how :-(
m.listdate=STRTRAN(LEFT(cmonth(listdate),3)+" "+PADL(DAY(listdate),2,"0"
+" "+ALLTRIM(STR(YEAR(listdate)))+" "+LEFT(RIGHT(TTOC(listdate),11),8)+":000",',','')
Can anyone help me clean this up? Need it to look like this: Aug 12 2002 19:58:23:376
m.listdate is the date & time from a SQL table's datetime field. And I currently can't get the milliseconds down, or don't know how :-(
m.listdate=STRTRAN(LEFT(cmonth(listdate),3)+" "+PADL(DAY(listdate),2,"0"
Can anyone help me clean this up? Need it to look like this: Aug 12 2002 19:58:23:376