Skip to content

Instantly share code, notes, and snippets.

@snay2
Created February 3, 2011 22:07
Show Gist options
  • Save snay2/810320 to your computer and use it in GitHub Desktop.
Save snay2/810320 to your computer and use it in GitHub Desktop.
smsdate function for displaying the date
smsdate = function(d){
datestringA = time:strftime(d, "on %A (%B %d) at %I %M %p");
datestringB = datestringA.replace(re/ 0/g, " ").replace(re/ 0/g, " ");
datestringB;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment