03-14-2017
I'm basically an optimistic person, but lately, that's taken some solid hits... You can probably guess why, given my location in North America.
The sad truth, they don't teach basic logic and problem solving in North America. Not until you get to college. It ought to be taught before even basic things like civics, so people know what they're looking at.
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello everyone, I was searching for locations where I can get End of Life information on multiple versions of Unix.
I have found some information which I list below, what I have not found or confirmed is where I can get the information for:
DEC Unix/OSF1 V4.0D
NCR Unix SVR4 MP-RAS Rel 3.02.... (2 Replies)
Discussion started by: robertmcol
2 Replies
2. Shell Programming and Scripting
Hi,
I would like to learn shell scripting in UNIX. Can any one please give me the support and share the information/documents with me.
If any documents please post it to aswanikumar_nimmagadda@yahoo.co.in
Thanks in advance...!!! (3 Replies)
Discussion started by: aswani_n
3 Replies
3. Debian
Hello, I am a bit puzzled. I am trying to capture data using tcpdump on a bonded interface, which works fine until I add a filter, then nothing is seen nor captured by libpcap/tcpump.
I have interfaces eth3 and eth4 bonded to bond0 because I am using a tap in a firewall connection to monitor all... (4 Replies)
Discussion started by: Hollinch
4 Replies
4. Post Here to Contact Site Administrators and Moderators
I have read the sun-expansion scenario numerous places but I've never read any suggestion that the earth's orbit would increase to avoid being scorched. What mechanism would push it out?
As for creating a black hole by the LHC, the whole concept is silly so any number of reasons would rule it... (9 Replies)
Discussion started by: KenJackson
9 Replies
5. What is on Your Mind?
How will the world end (someday long into the future, we hope)? (68 Replies)
Discussion started by: Neo
68 Replies
6. What is on Your Mind?
This is an excellent video comment on modern society and the remix is good too:
https://www.youtube.com/watch?v=5DU1B_XkyIk
5DU1B_XkyIk
Watch the video above and post your comments. (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT PHP
datefmt_get_datetype
DATEFMT_GET_DATETYPE(3) 1 DATEFMT_GET_DATETYPE(3)
IntlDateFormatter::getDateType - Get the datetype used for the IntlDateFormatter
Object oriented style
SYNOPSIS
public int IntlDateFormatter::getDateType (void )
DESCRIPTION
Procedural style
int datefmt_get_datetype (IntlDateFormatter $fmt)
Returns date type used by the formatter.
PARAMETERS
o $fmt
- The formatter resource.
RETURN VALUES
The current date type value of the formatter.
EXAMPLES
Example #1
datefmt_get_datetype(3) example
<?php
$fmt = datefmt_create(
'en_US',
IntlDateFormatter::FULL,
IntlDateFormatter::FULL,
'America/Los_Angeles',
IntlDateFormatter::GREGORIAN
);
echo 'datetype of the formatter is : ' . datefmt_get_datetype($fmt);
echo 'First Formatted output with datetype is ' . datefmt_format($fmt, 0);
$fmt = datefmt_create(
'en_US',
IntlDateFormatter::SHORT,
IntlDateFormatter::FULL,
'America/Los_Angeles',
IntlDateFormatter::GREGORIAN
);
echo 'Now datetype of the formatter is : ' . datefmt_get_datetype($fmt);
echo 'Second Formatted output with datetype is ' . datefmt_format($fmt, 0);
?>
Example #2
OO example
<?php
$fmt = new IntlDateFormatter(
'en_US',
IntlDateFormatter::FULL,
IntlDateFormatter::FULL,
'America/Los_Angeles',
IntlDateFormatter::GREGORIAN
);
echo 'datetype of the formatter is : ' . $fmt->getDateType();
echo 'First Formatted output is ' . $fmt->format(0);
$fmt = new IntlDateFormatter(
'en_US',
IntlDateFormatter::SHORT,
IntlDateFormatter::FULL,
'America/Los_Angeles',
IntlDateFormatter::GREGORIAN
);
echo 'Now datetype of the formatter is : ' . $fmt->getDateType();
echo 'Second Formatted output is ' . $fmt->format(0);
?>
The above example will output:
datetype of the formatter is : 0
First Formatted output is Wednesday, December 31, 1969 4:00:00 PM PT
Now datetype of the formatter is : 2
Second Formatted output is 12/31/69 4:00:00 PM PT
SEE ALSO
datefmt_get_timetype(3), datefmt_create(3).
PHP Documentation Group DATEFMT_GET_DATETYPE(3)