Well, Thank you and appreciate for all of your support. One of my friend has provided a solution in 'perl' which works as I needed. Posting the script for those who are in need of getting the date and time while doing FTP. This script can be run if you have perl installed. The script is as follows:
#!/usr/bin/perl
#
# file date modify
# 6/28/05
# ver 1.0.1
#
use Date::Manip;
use Net::FTP;
$sourcedir = "filepath";
$filename1 = "filename";
$login = "remote server userid";
$passw = "remote server password";
$server = "remote server name";
$ftp = Net::FTP->new("$server");
$ftp->login($login,$passw);
$ftp->cwd($sourcedir);
@fileinfo = $ftp->dir($filename1);
$ftp->get($filename1);
$ftp->quit;
($accesstime, $modtime) = (stat($filename1))[8,9];
print $modtime . "\n";
$modtimeconv = localtime($modtime);
$datestr = UnixDate($modtimeconv, "%A, %B %e at %i:%M%p");
print "$datestr \n";
print $fileinfo[0] . "\n";
$dateinfo = substr($fileinfo[0], 45, 12);
print $dateinfo . "\n";
$finaldate = ParseDate($dateinfo);
$finaldate = $finaldate + 1;
$unixdate = UnixDate($finaldate,"%s");
print $unixdate . "\n";
utime($accesstime, $unixdate, $filename1);
#End of the perl script