Created
August 30, 2016 07:59
-
-
Save jakab922/f15973bcc87b90ffa642049996c6020d to your computer and use it in GitHub Desktop.
Formatting the current time in beanshell
This file contains hidden or 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
import java.util.Date; | |
import java.text.SimpleDateFormat; | |
SimpleDateFormat formatter = new SimpleDateFormat( "yyyyMMddHHmmss" ); | |
return formatter.format( new java.util.Date() ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment