Home
(current)
About
Tutorial
Technologies
C#
Deep Learning
Statistics for AIML
Natural Language Processing
Machine Learning
SQL -Structured Query Language
Python
Ethical Hacking
Placement Preparation
Quantitative Aptitude
View All Tutorial
Quiz
C#
SQL -Structured Query Language
Quantitative Aptitude
Java
View All Quiz Course
Q & A
C#
Quantitative Aptitude
Java
View All Q & A course
Programs
Articles
Identity And Access Management
Artificial Intelligence & Machine Learning Project
How to publish your local website on github pages with a custom domain name?
How to download and install Xampp on Window Operating System ?
How To Download And Install MySql Workbench
How to install Pycharm ?
How to install Python ?
How to download and install Visual Studio IDE taking an example of C# (C Sharp)
View All Post
Tools
Program Compiler
Sql Compiler
Replace Multiple Text
Meta Data From Multiple Url
Contact
User
Login
Register
FRESHER BELL ALL LANGUAGE ONLINE COMPILER
Java program to get current date and time
Languages
Java
C
C-99
C++
C++ 14
C++ 17
PHP
Perl
Python 2
Python 3
Ruby
Go Lang
Scala
Bash Shell
SQL
Pascal
C#
VB.NET
Haskell
Objective C
Swift
Groovy
Fortran
Brainf**k
Lua
TCL
Hack
Rust
D
Ada
R Language
Free Basic
Theme
github
xcode
ambiance
monokai
chaos
chrome
Program
import java.time.LocalDateTime; public class GetCurrentDateTime { public static void main(String[] args) { LocalDateTime datetime = LocalDateTime.now(); System.out.println("Current Date and Time is: " + datetime); } }
Run
Clear
Input
Output
Powered By Fresher Bell™
Similar Program
#
Program
Language
1
Java Ternary Operator Example
Java
2
Java Siingle Level Inheritance Example
Java
3
Java Interface Example
Java
4
Java Program to multiply two decimal number ( floating number ) by taking input from user
Java
5
Java program to find the reverse of user input
Java
6
Java Continue Keyword Example
Java
7
Java Left Shift Operator Program
Java
8
Java Bitwise Or Example
Java
9
Java program to find factorial of user input
Java
10
Java Do While Loop Example 2
Java
11
Java Hierarchical Inheritance Example
Java
12
Java For Each Loop Example
Java
13
Java Multiple Object Example
Java
14
Java program to find the ASCII value of a input taken from user
Java
15
Java program to show factor of a user input
Java
16
Write a java program so that odd position char will be in uppercase & even will be lowercase
Java
17
Java Program to Find the Largest Among Three Numbers using input taken from users- (nested-if-else)
Java
18
Java Program to check whether a given character is vowel or consonants using if else
Java
19
Java program to convert String to Character Array
Java
20
Java program to find largest element of array
Java
#
Program
Language
Copyright © 2020
Inovatik
- All rights reserved