Hi ,
I am working at Unix system,using c lang.
I need c fun which return the day of the week .
For example :
0- Sunday.
1- Monday.
....
10x. (4 Replies)
How to find the Day of the Week of the given Date using perl?
If I have a date in YYY--MM-DD format, how to find the DOW? Based on that, I need to find the following sunday.
Pls help. (5 Replies)
Hi All,
I have date in string format 'YYYY-MM-DD'. I want to know day of the week for this date.
Example. For '2005-08-21' my script should return '0' or Sunday
For '2005-08-22' it should return '1' or Monday
I want piece of code for HP-UX korn shell.
Appreciate reply on this. (5 Replies)
Hi,
Is there any function in Unix by which v can find the exact day of any given date. Like i need to get Wednesday if i give 05 07 2008 (format MM DD YYYY)
Thanks,
RRVARMA (5 Replies)
I have a problem of Finding Day of the week from date, but i need to do it within awk On SOLARIS
Input:20101007(YYYYMMDD)
Output:Thursday
kindly provide suggestions.
Thanks in advance (8 Replies)
I have a file that looks like:
file1:
www_blank_com 20121008153552
www_blank_com 20121008162542
www_blank_com 20121009040540
www_blank_com 20121009041542
www_blank_com 20121010113548
www_blank_com 20121011113551
www_blank_com 20121012113542
I want the new file to show the day of... (3 Replies)
I have a date in format YYYYMMDD, i need to get the day of the week from the given date. I am working in AIX system.
---------- Post updated at 09:59 AM ---------- Previous update was at 09:57 AM ----------
Tried to post sum of the thread's link from which i tried, but de rules didnt allow me... (9 Replies)
Hi,
i am writing a ksh shell script to check the last month end date whether it is falling in last 10 week day date, I am not sure How to use "Mr. Perderabo's date calculator", Could you Please let me know how to use to get my requirement, I tried my own script but duplicate week day and... (5 Replies)
Hi,
I have a requirement where I have to pass Date to a script and get the day from it.
Ex If parameter is 2015-09-29
The output should be Tuesday.
Can you please tell me how to get that? (6 Replies)
Discussion started by: ashwin3086
6 Replies
LEARN ABOUT DEBIAN
ical::parser::html
iCal::Parser::HTML(3pm) User Contributed Perl Documentation iCal::Parser::HTML(3pm)NAME
iCal::Parser::HTML - Generate HTML calendars from iCalendars
SYNOPSIS
use iCal::Parser::HTML;
my $parser=iCal::Parser::HTML->new;
print $parser->parse(type=>$type,start=>$date,files=>[@icals]);
DESCRIPTION
This module uses iCal::Parser::SAX and XML::LibXSLT with included stylesheets to generates html calendars from icalendars.
The html document generated includes (when appropriate) a sidebar containing a legend, a list of todos and a three month calendar for the
previous, current and next months.
The stylesheets are stored in the HTML/stylesheet directory under the installed package directory.
Also included in this package are an optionally installed command line program "ical2html" in scripts and, in the example directory, a cgi
handler ("ical.cgi" in examples) and a stylesheet ("calendar.css" in examples) for formatting the html output. Note that the html output
will look quite broken without the stylesheet.
ARGUMENTS
The following arguments are processed by this module. Any addtional arguments are passed to iCal::Parser::SAX.
type
The type of calendar to generate. One of: "day", "week", "month" or "year". The daily, weekly and monthly calendars include the
sidebar. The calendar generated will be for the specified period (day, week, etc.) which includes the specified date.
start
The date to generated the calendar for. The date only needs to be specified to the precision necessary for the type of calendar. That
is, "YYYY" for a yearly calendar, "YYYYMM" for a monthly, and "YYYYMMDD" for daily and weekly. In addition, the date can be in one of
the following forms:
YYYY[MM[DD]]
YYYY[-MM[-DD]]
A DateTime object initialized to the necessary precision
files
An array reference to the list of icalendars to include in the results.
url If this params is specified, then the html output will contain links back to this url for getting other calendar periods. The params
"type" and "date" will be appended to this url when generating the links.
AUTHOR
Rick Frankel, cpan@rickster.com
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
iCal::Parser::SAX, XML::LibXML::SAX::Builder, XML::LibXSLT, DateTime
perl v5.14.2 2012-01-25 iCal::Parser::HTML(3pm)