THE BEST NEWSLETTER ANYWHERE
Join 6,000 subscribers and get a daily digest of full stack tutorials delivered to your inbox directly.No spam ever. Unsubscribe any time.
This tutorial explains about how to get Current Date and time in Local and UTC
use strict;
use warnings;
use DateTime;
my $dt = DateTime->now;
print "$dt"
This is an example of getting date and time of a Local System.
use strict;
use warnings;
use DateTime;
my $dt = Localtime();
print "$dt"
🧮 Tags
Recent posts
Nodejs package.json resolutions How to find Operating System username in NodeJS? How to convert Double to Integer or Integer to double in Dart| Flutter By Example Ways to skip test case execution in Gradle project build Learn Gradle | tutorials, and examplesRelated posts