Get Current Date/TIme. Kotlin

Get Current Date/TIme. Kotlin



Get Current date and time in default format
Kotlin example code

Kotlin

  Output result
Current Date and Time is: 2017-08-02T11:25:44.973
Get Current date and time with pattern
Kotlin example code

Kotlin

  Output result
Current Date and Time is: 2017-08-02 11:29:57.401
Get Current Date time using predefined constants
Kotlin example code

Kotlin

  Output result
Current Date is: 20170802
Get Current Date time in localized style
Kotlin example code

Kotlin

  Output result
Current Date is: Aug 2, 2017 11:44:19 AM


.dll file is missing? Download for Windows 7, 8, 10 - Fix .dll file Missing Error on Windows | dll-box.com

BeeCoder.ORG

open source code and examples

We have been online since 2021 and 1 millions of people around the globe have visited our website since then

More visitors every month