8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello My friends,
This is my new Thread and i am so newbie about Bash/shell code.
My first exam question is : there is a file (name is also File) and this file has 2 letters and 1 number. And number is in the middle. like this
a
2
c
I have to show only number on screen. And i did like... (1 Reply)
Discussion started by: Darthy
1 Replies
2. What is on Your Mind?
Hi All,
I plan to appear for a RHCSA certification and am confused a bit.
I am trying to register on the RedHat site for the EX200 exam and am taken to this page
Red Hat Certified System Administrator (RHCSA) exam - EX200 | Red Hat
It says this involves training too. But I am not... (0 Replies)
Discussion started by: Junaid Subhani
0 Replies
3. Solaris
Hello guys
I hope you well and in great health, i wonder if i want to get Solaris 11 (1z0-821) exam i've to talk a course in oracle or i can just register for the exam and take it.
thanks. (1 Reply)
Discussion started by: mohamed91
1 Replies
4. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
5. UNIX for Advanced & Expert Users
Hey All,
I have bought some paper from the net... let's say in PDF format. They are some questions from that paper that says Explanation: pending. Send your suggestion tofeedback*****king.com ... anyway. Here are the questions. I have made my choice but would like to know your opinion.
1. The... (1 Reply)
Discussion started by: qfwfq
1 Replies
6. UNIX for Dummies Questions & Answers
Can you help me to know the commands for these problems?
1. Count the no. of users that are currently logged into the system.
2. Count the no. of lines in /etc/passwd that contains the pattern home.
3. Modify Question #2 so that you save all entries from /etc/passwd that contain the... (1 Reply)
Discussion started by: mhos_mhos
1 Replies
7. Filesystems, Disks and Memory
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies
8. Solaris
dear solaris group,
whitch are the best book for study admin 1 + 2 on solaris 9
to prepare for the exam of admin 1 & 2
best regards
Maurizio (2 Replies)
Discussion started by: mauric
2 Replies
GMMKTIME(3) 1 GMMKTIME(3)
gmmktime - Get Unix timestamp for a GMT date
SYNOPSIS
int gmmktime ([int $hour = gmdate("H")], [int $minute = gmdate("i")], [int $second = gmdate("s")], [int $month = gmdate("n")], [int
$day = gmdate("j")], [int $year = gmdate("Y")], [int $is_dst = -1])
DESCRIPTION
Identical to mktime(3) except the passed parameters represents a GMT date. gmmktime(3) internally uses mktime(3) so only times valid in
derived local time can be used.
Like mktime(3), arguments may be left out in order from right to left, with any omitted arguments being set to the current corresponding
GMT value.
PARAMETERS
o $hour
- The number of the hour relative to the start of the day determined by $month, $day and $year. Negative values reference the hour
before midnight of the day in question. Values greater than 23 reference the appropriate hour in the following day(s).
o $minute
- The number of the minute relative to the start of the $hour. Negative values reference the minute in the previous hour. Values
greater than 59 reference the appropriate minute in the following hour(s).
o $second
- The number of seconds relative to the start of the $minute. Negative values reference the second in the previous minute. Values
greater than 59 reference the appropriate second in the following minute(s).
o $month
- The number of the month relative to the end of the previous year. Values 1 to 12 reference the normal calendar months of the
year in question. Values less than 1 (including negative values) reference the months in the previous year in reverse order, so 0
is December, -1 is November, etc. Values greater than 12 reference the appropriate month in the following year(s).
o $day
- The number of the day relative to the end of the previous month. Values 1 to 28, 29, 30 or 31 (depending upon the month) refer-
ence the normal days in the relevant month. Values less than 1 (including negative values) reference the days in the previous
month, so 0 is the last day of the previous month, -1 is the day before that, etc. Values greater than the number of days in the
relevant month reference the appropriate day in the following month(s).
o $year
- The year
o $is_dst
- Parameters always represent a GMT date so $is_dst doesn't influence the result.
Note
This parameter has been removed in PHP 7.0.0.
RETURN VALUES
Returns a integer Unix timestamp.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 7.0.0 | |
| | |
| | $is_dst parameter has been removed. |
| | |
| 5.1.0 | |
| | |
| | As of PHP 5.1.0, the $is_dst parameter became |
| | deprecated. As a result, the new timezone han- |
| | dling features should be used instead. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
gmmktime(3) basic example
<?php
// Prints: July 1, 2000 is on a Saturday
echo "July 1, 2000 is on a " . date("l", gmmktime(0, 0, 0, 7, 1, 2000));
?>
SEE ALSO
mktime(3), date(3), time(3).
PHP Documentation Group GMMKTIME(3)