Converting dates to Padded SQL format

Rob Cozens rcozens at pon.net
Mon Oct 28 11:39:42 CST 2002


>We want  to convert
>
>April 15, 1998
>
>into
>
>04/15/1998

Aloha Sannyasin,

This works for me on Mac OS9 (after setting the system control panel 
short date format to include century):

on mouseup
   get "April 15, 1998"
   convert it to short system date
   answer it
end mouseup
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list