Hello Meenu, try :
#!/usr/bin/perl
# example given
# lastLoginTime = 127185822896362317
# 1/14/2004 2:31:29 PM
$win32Time ="127185822896362317";
$high = substr($win32Time,0,9);
$low = substr($win32Time,9,2);
$a_Temp = ((($high - 116444736) *100) + $low + 10800);
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($a_Temp);
$year += 1900;
$mon += 1;
print "$mon/$mday/$year at $hour:$min:$sec \n";
# does this work ? with other lastLoginTime values ?
thanks cornball (-:
#!/usr/bin/perl
# example given
# lastLoginTime = 127185822896362317
# 1/14/2004 2:31:29 PM
$win32Time ="127185822896362317";
$high = substr($win32Time,0,9);
$low = substr($win32Time,9,2);
$a_Temp = ((($high - 116444736) *100) + $low + 10800);
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($a_Temp);
$year += 1900;
$mon += 1;
print "$mon/$mday/$year at $hour:$min:$sec \n";
# does this work ? with other lastLoginTime values ?
thanks cornball (-: