Format of date
Submitted by on Monday, 26 January, 2004 - 12:26
Hey all,
Trying to customize the stock Insert_Date.bsh macro to use the format I want but can't get it to work. So I tried this, and it didn't work either. What am I doing wrong?
Date today;
String output;
SimpleDateFormat formatter;
formatter = new SimpleDateFormat("E, M d, y - h :m a", currentLocale);
today = new Date();
output = formatter.format(today);
// inserting date and internet time to textarea
textArea.setSelectedText(ouput);
Thanks in advance

