Implementation
D

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 datetime
d = datetime.datetime.now()
var
  _d: TDateTime;
begin
  _d := Now;
end.
var d = new DateTime.now();
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();