Skip to content

TImestamp Format

Zubair Rehman edited this page May 3, 2019 · 1 revision

Each log entry has timestamp associated with it. You can modify it's format. There are multiple formats available to choose from

1. TimestampFormat.DATE_FORMAT_1 = "ddMMyyyy";
2. TimestampFormat.DATE_FORMAT_2 = "MM/dd/yyyy";
3. TimestampFormat.TIME_FORMAT_FULL_JOINED = "ddMMyyyy_kkmmss_a";
4. TimestampFormat.TIME_FORMAT_FULL_1 = "dd MMMM yyyy kk:mm:ss";
5. TimestampFormat.TIME_FORMAT_FULL_2 = "MM:dd:yyyy hh:mm:ss a";
6. TimestampFormat.TIME_FORMAT_24_FULL = "dd/MM/yyyy kk:mm:ss";
7. TimestampFormat.TIME_FORMAT_READABLE = "dd MMMM yyyy hh:mm:ss a";
8. TimestampFormat.TIME_FORMAT_SIMPLE = "kk:mm:ss";
Clone this wiki locally