09-03-2001
Unix Operating System
I need the Unix operating system on disc as im new to unix. Im studying unix and x windows next year at Sheffield University and would like to get a head start.
Any suggestions would be appreciated
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
I am trying to install solaris 8 on intel machine(intel300 mhz,32 mg ram,3.2 hd,24x cd-rom). hardware scaning is ok. Then it ask to enter choice for interactive installation #1 for web #2. After i enter chice system reboot agian and it takes to same screne.
... (1 Reply)
Discussion started by: neer45
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I recently joined this forum and new to UNIX.
Is there any difference between UNIX operating system and UNIX open server? Please explain. (1 Reply)
Discussion started by: Manjit
1 Replies
3. UNIX for Dummies Questions & Answers
Hello Everyone,
I'm new to this forum and Unix. I have a couple of questions and please, excuse my ignorance.
I have a spare machine which is now running MS Windows 98 and I would like to format the disk and install the Unix operating system along with Oracle 8i and SQL Server.
My... (13 Replies)
Discussion started by: IronBear
13 Replies
4. News, Links, Events and Announcements
Excellent reference on the history of UNIX:
Bell Labs History of UNIX*
http://www.bell-labs.com/history/unix/images/86-300838-EM.jpeg (0 Replies)
Discussion started by: Neo
0 Replies
5. UNIX for Dummies Questions & Answers
Hello all
:
May anyone can help me where I can find any site for avalable downlaoding UNIX operating system ?
Thanking you
Best Regards
Dani Romio (1 Reply)
Discussion started by: dani_romio
1 Replies
6. UNIX for Dummies Questions & Answers
Can anyone give me info on networking features of the Unix Operating System please.
Thanks in advance (1 Reply)
Discussion started by: WaveZero
1 Replies
7. UNIX for Dummies Questions & Answers
Hey all, I currently use FreeBSD and linux and have decided I want to use a proper Unix distrobution. Which Unix distro would you members recommend. The only requirments that I have is that I can use some pogramming utilities available. I don't mind the install process. One more thing, I know some... (2 Replies)
Discussion started by: -zorin
2 Replies
8. UNIX for Dummies Questions & Answers
heyfrenz i just need a proper explanation of why is unix a 32-bit operating system??....a proper answer with proper explanation.... (6 Replies)
Discussion started by: silverrock7
6 Replies
9. Programming
I have a query that is about android application based mobile. actually android is so popular in mobiles and its w using sell cmd also UNIX is also support shell files. So it is a operating system of UNIX. But i am not sure please help me. (5 Replies)
Discussion started by: andrepitt77
5 Replies
10. UNIX for Dummies Questions & Answers
Which is the smallest Unix operating system and how do I download it?
edit by bakunin: corrected typo in the thread-title and removed the text formatting: we are able to read non-bold text either. (4 Replies)
Discussion started by: Nalcolmshally
4 Replies
LEARN ABOUT PHP
easter_date
EASTER_DATE(3) 1 EASTER_DATE(3)
easter_date - Get Unix timestamp for midnight on Easter of a given year
SYNOPSIS
int easter_date ([int $year = date("Y")])
DESCRIPTION
Returns the Unix timestamp corresponding to midnight on Easter of the given year.
Warning
This function will generate a warning if the year is outside of the range for Unix timestamps (i.e. before 1970 or after 2037).
The date of Easter Day was defined by the Council of Nicaea in AD325 as the Sunday after the first full moon which falls on or after the
Spring Equinox. The Equinox is assumed to always fall on 21st March, so the calculation reduces to determining the date of the full moon
and the date of the following Sunday. The algorithm used here was introduced around the year 532 by Dionysius Exiguus. Under the Julian
Calendar (for years before 1753) a simple 19-year cycle is used to track the phases of the Moon. Under the Gregorian Calendar (for years
after 1753 - devised by Clavius and Lilius, and introduced by Pope Gregory XIII in October 1582, and into Britain and its then colonies in
September 1752) two correction factors are added to make the cycle more accurate.
PARAMETERS
o $year
- The year as a number between 1970 an 2037. If omitted, defaults to the current year according to the local time.
RETURN VALUES
The easter date as a unix timestamp.
EXAMPLES
Example #1
easter_date(3) example
<?php
echo date("M-d-Y", easter_date(1999)); // Apr-04-1999
echo date("M-d-Y", easter_date(2000)); // Apr-23-2000
echo date("M-d-Y", easter_date(2001)); // Apr-15-2001
?>
NOTES
Note
easter_date(3) relies on your system's C library time functions, rather than using PHP's internal date and time functions. As a con-
sequence, easter_date(3) uses the TZ environment variable to determine the time zone it should operate in, rather than using PHP's
default time zone, which may result in unexpected behaviour when using this function in conjunction with other date functions in
PHP.
As a workaround, you can use the easter_days(3) with DateTime and DateInterval to calculate the start of Easter in your PHP time
zone as follows:
<?php
function get_easter_datetime($year) {
$base = new DateTime("$year-03-21");
$days = easter_days($year);
return $base->add(new DateInterval("P{$days}D"));
}
foreach (range(2012, 2015) as $year) {
printf("Easter in %d is on %s
",
$year,
get_easter_datetime($year)->format('F j'));
}
?>
The above example will output:
Easter in 2012 is on April 8
Easter in 2013 is on March 31
Easter in 2014 is on April 20
Easter in 2015 is on April 5
SEE ALSO
easter_days(3) for calculating Easter before 1970 or after 2037 .
PHP Documentation Group EASTER_DATE(3)