02-15-2011
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
cal_to_jd
CAL_TO_JD(3) 1 CAL_TO_JD(3)
cal_to_jd - Converts from a supported calendar to Julian Day Count
SYNOPSIS
int cal_to_jd (int $calendar, int $month, int $day, int $year)
DESCRIPTION
cal_to_jd(3) calculates the Julian day count for a date in the specified $calendar. Supported $calendars are CAL_GREGORIAN, CAL_JULIAN,
CAL_JEWISH and CAL_FRENCH.
PARAMETERS
o $calendar
- Calendar to convert from, one of CAL_GREGORIAN, CAL_JULIAN, CAL_JEWISH or CAL_FRENCH.
o $month
- The month as a number, the valid range depends on the $calendar
o $day
- The day as a number, the valid range depends on the $calendar
o $year
- The year as a number, the valid range depends on the $calendar
RETURN VALUES
A Julian Day number.
SEE ALSO
cal_from_jd(3), frenchtojd(3), gregoriantojd(3), jewishtojd(3), juliantojd(3), unixtojd(3).
PHP Documentation Group CAL_TO_JD(3)