11-30-2009
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm using awk in HP-UX machine which does not support systime(), strftime(). So to get the date time I was using :
seq 1 100000 | awk ' "date +%Y%m%d%H%M%s" | getline curtime; print curtime }'
However the above code gets the date only once, next time it is not updated. For... (2 Replies)
Discussion started by: Random_Net
2 Replies
2. Programming
Suppose I have a mysql table consisting of measurements taken during irregular intervals as follows:
CREATE TABLE data (datetime DATETIME, value INTEGER);
mysql> SELECT datetime, value FROM data;
+---------------------+---------+
| datetime | value |... (2 Replies)
Discussion started by: figaro
2 Replies
3. Shell Programming and Scripting
Hi,
I'm trying to find processing time of my script. Please can someone give me the commands to get the start/end time in "dd-mm-yyyy hh:mm:ss" and the differnce in seconds.
Thanks! (5 Replies)
Discussion started by: dvah
5 Replies
4. Shell Programming and Scripting
Hi. I'm hoping there is a simple method where I'm able to generate a datetime string that looks like this (yyyymmddhhmm):
201106280830
The tricky part would be that I need this string to be today's datetime minus 1 year.
Is there anyway to do this? (3 Replies)
Discussion started by: buechler66
3 Replies
5. Shell Programming and Scripting
Hi,
To get the batch status, I will need to check if the particular job started after 5PM. if the job start time is before 5 pm, then it means that the job has not started for this particular date. I will run the script with date as argument.
For eg:
BS 07/10/2012
Start time from the log is... (8 Replies)
Discussion started by: ajayakunuri
8 Replies
6. Shell Programming and Scripting
Hey Guys,
I have looked for a solution throughout the forum for my particular question, but I cant find one. So I'm sorry if I overlooked it. I need to be able to 48 add hours to a particular DateTime string.
I have a variable named $startTime
I would like to be able to take that... (1 Reply)
Discussion started by: chagan02
1 Replies
7. AIX
Good day people,
Kindly advice on below please.
1) Formatting/ Arithmetic operation of given date
I understand from the AIX man date and some research that flag -d is not applicable for AIX shell scripting and some of the UNIX command date command is not available in AIX.
Please advice... (1 Reply)
Discussion started by: cielle
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
How do i find all the files between two times.
Eg: 26 may 2014 06:00 to 26 may 2014 14:00
mmin and mtime gives for a specific period. we receive hundreds of files input directories and i need to find how many files are received between given specific datetime.
Thanks. (2 Replies)
Discussion started by: abhi_123
2 Replies
9. Shell Programming and Scripting
Hello All,
I need unix command to generate a file with datetime in it.
For example :
ABC_YYYYMMDDHH24MISS.txt
Regards
Biswajeet Ghosh (1 Reply)
Discussion started by: bghosh
1 Replies
LEARN ABOUT DEBIAN
html::microformats::datatype::datetime
HTML::Microformats::Datatype::DateTime(3pm) User Contributed Perl Documentation HTML::Microformats::Datatype::DateTime(3pm)
NAME
HTML::Microformats::Datatype::DateTime - dates and datetimes
SYNOPSIS
my $duration = HTML::Microformats::Datatype::DateTime->now;
print "$duration
";
DESCRIPTION
This class inherits from DateTime, so supports all of DateTime's methods.
Constructors
This class inherits from DateTime, so DateTime's standard constructors ("new", "now", etc) should work. Also:
"$dt = HTML::Microformats::Datatype::DateTime->parse($string, $elem, $context, [$tz], [$base])"
Creates a new HTML::Microformats::Datatype::DateTime object.
$tz is the timezone to use (if it can't be figured out) and $base is a base datetime to use for relative datetimes, whatever that
means.
Public Methods
"$d->to_string"
Returns a literal string.
"$d->datatype"
Returns an the RDF datatype URI representing the data type of this literal.
BUGS
Please report any bugs to <http://rt.cpan.org/>.
SEE ALSO
HTML::Microformats, HTML::Microformats::Datatype, DateTime.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT
Copyright 2008-2011 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
perl v5.14.2 2011-12-06 HTML::Microformats::Datatype::DateTime(3pm)