data _null_; input mydate YYMMDD10.; put mydate YYMMDDB10.; put mydate YYMMDDC10.; put mydate YYMMDDD10.; put mydate YYMMDDN8.; put mydate YYMMDDP10.; put mydate YYMMDDS10.; cards; 2014-05-18 ; run;
Writes SAS date values in the form yy>yymmdd or yy>yy-mm-dd, where the x in the format name is a character that represents the special character that separates