Created
October 13, 2014 16:37
-
-
Save derekbar90/15df0f22fef0dd574ba7 to your computer and use it in GitHub Desktop.
Twilio Formatted Date String
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public String setTimeStamp(){ | |
SimpleDateFormat date = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy"); | |
Date today = new Date(); | |
currentDateStamp = date.format(today); | |
return currentDateStamp; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment