02-15-2011
On HP-UX the year between 1 and 9999.
Refer the link
cal - HP-UX
This User Gave Thanks to ungalnanban For This Post:
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what command can show calendar in unix system? (2 Replies)
Discussion started by: kennethchow
2 Replies
2. Shell Programming and Scripting
Hi,
Is there any autosys calendar for last day of a month(irrespective of holidays)
For eg., Jan 31, Feb 28(29), Mar 31, Apr 30 ...
Thanks in Advance (2 Replies)
Discussion started by: rspk_praveen
2 Replies
3. Web Development
Hi folks,
I am kind of new to these things. I want to create a web based database which will serve as a sort of vacation calendar for the employees so that we know how many men we have at a given date.
We want this to be seen on internal pages only, so it will be accessed by a username and... (3 Replies)
Discussion started by: apprentice
3 Replies
4. Shell Programming and Scripting
Hi,
I need a simple shell script to help filter weekends from the calendar of a month. In other words, i need a script to identify the working days in a month. (3 Replies)
Discussion started by: pravsripad
3 Replies
5. Shell Programming and Scripting
Hi, how should I use system command cal (calendar) in awk?, I have try several combinations and none works.
Here what I have done.
awk -f '{print cal}'
awk -f '{print 'cal'}'
awk -f '{print "cal"}'
awk -f {print cal}
Regards. (2 Replies)
Discussion started by: Godie
2 Replies
6. Shell Programming and Scripting
I have a few .calendar files
/usr/share/calendar
they look like
01/01<TAB>Anniversary of the Triumph of the Revolution in Cuba
01/24<TAB>Gold discovered in California at Sutter's Mill, 1848
01/28<TAB>First ski tow, Woodstock VT, 1914
01/28<TAB>Space Shuttle Challenger (51-L) explodes 74... (2 Replies)
Discussion started by: p100x1
2 Replies
7. Shell Programming and Scripting
Does anyone know if you can create an Extended Calendar in Autosys that will do the following...Schedule on the last business day of the month, but if the last business day falls on a Mon-Thur...schedule on the next business day (1st of the next month) ? (1 Reply)
Discussion started by: amarq0004
1 Replies
LEARN ABOUT PHP
intlcalendar.setfirstdayofweek
INTLCALENDAR.SETFIRSTDAYOFWEEK(3) 1 INTLCALENDAR.SETFIRSTDAYOFWEEK(3)
IntlCalendar::setFirstDayOfWeek - Set the day on which the week is deemed to start
Object oriented style
SYNOPSIS
public bool IntlCalendar::setFirstDayOfWeek (int $dayOfWeek)
DESCRIPTION
Procedural style
bool intlcal_set_first_day_of_week (IntlCalendar $cal, int $dayOfWeek)
Defines the day of week deemed to start the week. This affects the behavior of fields that depend on the concept of week start and end
such as IntlCalendar::FIELD_WEEK_OF_YEAR and IntlCalendar::FIELD_YEAR_WOY.
PARAMETERS
o $cal
- The IntlCalendar resource.
o $dayOfWeek
- One of the constants IntlCalendar::DOW_SUNDAY, IntlCalendar::DOW_MONDAY, , IntlCalendar::DOW_SATURDAY.
RETURN VALUES
Returns TRUE on success. Failure can only happen due to invalid parameters.
EXAMPLES
Example #1
IntlCalendar.setFirstDayOfWeek(3)
<?php
ini_set('date.timezone', 'Europe/Lisbon');
ini_set('intl.default_locale', 'es_ES');
$cal = IntlCalendar::createInstance();
$cal->set(2013, 5 /* June */, 30); // A Sunday
var_dump($cal->getFirstDayOfWeek()); // 2 (Monday)
echo IntlDateFormatter::formatObject($cal, <<<EOD
week of month : 'W'
week of year : 'ww
EOD
), "
";
$cal->setFirstDayOfWeek(IntlCalendar::DOW_SUNDAY);
echo IntlDateFormatter::formatObject($cal, <<<EOD
week of month : 'W'
week of year : 'ww
EOD
), "
";
The above example will output:
int(2)
local day of week: 7
week of month : 4
week of year : 26
local day of week: 1
week of month : 5
week of year : 27
PHP Documentation Group INTLCALENDAR.SETFIRSTDAYOFWEEK(3)