Displaying 5 results from an estimated 5 matches for "unixdate".
2009 Dec 08
0
Holiday Gift Perl Script for US Holiday Dummy Regressors
...Dummy Variables starting $start to $end generated
by $scope. Output to $filename \n";
#print all the dates based on scope as a test
$startDate=ParseDate(\$start);
if (! $startDate) {
print "Error in the date";exit;
}
$endDate= ParseDate($end);
print "Start Date: ",UnixDate($startDate,"%m/%d/%Y"),"\n";
print "End Date: ",$end,"\n";
print "Last Day in Month: ",UnixDate(ParseDate("last day in JAN
2004"),"%m/%d/%Y"),"\n";
#HEADER OUTpUT
print
"Date,HLY-NewYear,HLY-MLK,HLY-PRES,HLY-ME...
2009 Dec 08
0
Opps Correct Version of Holiday Regressor Perl Script
...riables starting $start to $end generated
by $scope. Output to
$filename \n";
#print all the dates based on scope as a test
$startDate=ParseDate(\$start);
if (! $startDate) {
print "Error in the date";exit;
}
$endDate= ParseDate($end);
print OUTFILE "Start Date: ",UnixDate($startDate,"%m/%d/%Y"),"\n";
print OUTFILE "End Date: ",$end,"\n";
# print OUTFILE "Last Day in Month: ",UnixDate(ParseDate("last day in JAN
2004"),"%m/%d/%Y"),"\n";
print OUTFILE
"Date,HLY-NewYear,HLY-MLK,HL...
2012 Jan 15
3
I'm trying to relate what I know about Omega/Scriptindex with the actual data
...d Omega to direct Xapian API calls. I did a (I
think) complete dump of a document with
delve -r 565 -d database
and I see things like
subject='A typical subject'
with a corresponding set of terms like
Sa Stypical Ssubject
Which is what I expect, however I have two "fields" unixdate and summary
which I've specified as
unixdate : field date=unix
summary : field
In my index file. They are displayed in the delve output as
summary=Do you remember what was wrong with the bearings?
unixdate=1181883741
I don't see a set of terms that would correspond to either of these....
2004 Dec 17
0
SayUnixTime
If I use SayUnixTime to an extension, it will tell me the CORRECT time:
extension =>698,1,SayUnixTime
If I use the same in the wakeup-agi, it tells me the time 14 hours in
the future:
$agi->exec('SayUnixTime', sprintf("%s||IMp", UnixDate($time, "%s")));
Where is the difference? I am in Time zone Asia/Taipei (GMT+8:00)
Any ideas?
bye
Ronald
2000 May 22
6
handling dates
howdy R friends,
Can anyone help me with converting a ''unix'' date (seconds since 1970) into
something readable?
There doesn''t seem to be anything in the ''date'' package and the prospect of
calculating this myself doesn''t excite me.
thanks,
John Strumila
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help