10-11-2001
6 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
Hi,
Would it be frowned upon to post a job advert on these boards?
Many thanks,
Bob (1 Reply)
Discussion started by: citirecruitment
1 Replies
2. Advertise with Us
The UNIX and Linux Job Board is a service provided by the The UNIX and Linux Forums to help employers connect with UNIX and Linux professionals. All proceeds from this service go towards supporting the forums. Please PM Neo or email with any questions about this service.
Promotion A: $99 ... (0 Replies)
Discussion started by: Neo
0 Replies
3. What is on Your Mind?
do mind posting ur salary, location(not detailed), job field, work years here
I dont you whether you guys are from different countries...but i guess most of you are from different countries, but all in all, we are acting as an ITer....
I just wanto know more about you
never mind:p (0 Replies)
Discussion started by: macroideal
0 Replies
4. Shell Programming and Scripting
I have used m4 in the past to generate source code where aesthetics and space were of no consequence . Now I am using it to generate script and program templates .
So here is an excerpt from my m4 file for producing a generic bash script:
dnl `$Id$'
define(`START_SCRIPT',`#!/bin/bash... (8 Replies)
Discussion started by: Bubnoff
8 Replies
5. AIX
I need to change the security on our AIX servers and disable telnet from all but certain IP addresses.
I have hashed the telnet line in /etc/inetd.conf and added filter rules for those IP adds to allow access on port 23, but this didn't work.
Does anyone have any ideas?
Thanks. (2 Replies)
Discussion started by: Alps
2 Replies
6. UNIX for Dummies Questions & Answers
Hi everyone, I have 2 very large files (each file have about 600k lines) and I want to see which numbers in file1 are not in file2, I thought of doing a diff, however diff will also display the changes, instead of just adds and delete, this makes it very hard to sort out just the adds and deletes.... (1 Reply)
Discussion started by: robertrobert905
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)