Implementation
Dart

Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Other implementations
import "time"
var d time.Time = time.Now()
$d = time;
$d = time();
#include <time.h>
time_t d=time(0);
extern crate time;
let d = time::now();
import std.datetime;
auto d = Clock.currTime;
import datetime
d = datetime.datetime.now()
var
  _d: TDateTime;
begin
  _d := Now;
end.
d = Time.now
d = :calendar.local_time
d <- System.Posix.Time.epochTime
import java.time.Instant;
Instant d = Instant.now();
DateTime d = DateTime.Now;
var d = Date.now();
D = calendar:local_time().
date = os.date()
time = os.time()
var d = new Date();