4th Floor, 4 Tabernacle Street London EC2A 4LU

Date/Time in a Timestamp format – Perl

[perl]

use Date::Manip;

#### – Get DATE / TIME in correct format – ##########
my $day= strftime “%d”, localtime;
my $month= strftime “%m”, localtime;
my $year = strftime “%Y”, localtime;
my $now = localtime(time());
####################################################

$form_date_start = “$year/$month/$day 06:00:00”;

[/perl]