Skip to content

DateUtils

DarthBoomerPlay edited this page Mar 28, 2020 · 1 revision

DateUtils

This utility helps to work with time. Version Support: 1.8 - 1.15.1

public String getDate(String pattern)

public String getDate() // dd/MM/yyyy

public String getDateWithTime() // dd/MM/yyyy HH:mm:ss

public Timestamp getTimestamp(long l)

public long fromTimestamp(Timestamp timestamp)
Clone this wiki locally