Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Java Procedural Progamming
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
import java.text.ParseException; import java.text.SimpleDateFormat; class Rextester { public static void main (String[] args) throws ParseException { System.out.print("Name: "); System.out.print("Andrey Sotnikov"); System.out.print("; "); System.out.print("Age: "); System.out.print( System.currentTimeMillis()- new SimpleDateFormat("MM/dd/yyyy").parse("01/10/1990").getTime()); }}
[
+
]
Show input
Compilation time: 0.73 sec, absolute running time: 0.24 sec, cpu time: 0.16 sec, memory peak: 34 Mb, absolute service time: 0.98 sec
fork mode
|
history
|
discussion
Name: Andrey Sotnikov; Age: 818405468440