SBI Developers: Get Week no in year from date in PHP: you can get week number in the year from given date in PHP in this given method. <?php $ddate = "2012-10-18" ; $date = ...
We are here to convert your ideas to reality. Here you can learn more about knowledge of web, and designing. In this blog you can get a lot of knowledge about database, php , codeigniter, laravel, etc.
Get Week no in year from date in PHP
you can get week number in the year from given date in PHP in this given method.
<?php
<?php
$ddate = "2012-10-18";
$date = new DateTime($ddate);
$week = $date->format("W");
echo "Weeknummer: $week";
?>
Bootstrap Collapsible Panel With Up/Down Arrow Icon
It is very easy to make dropdwon collapse using bootstrtap
you can use this simple code.
Firstly you have to add these bootstrap files and then this simple code
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>
<!--- CSS -->
<style>
body{
padding:50px;
background:#fff;
}
.wrapper{
width:70%;
}
@media(max-width:992px){
.wrapper{
width:100%;
}
}
.panel-heading {
padding: 0;
border:0;
}
.panel-title>a, .panel-title>a:active{
display:block;
padding:15px;
color:#555;
font-size:16px;
font-weight:bold;
text-transform:uppercase;
letter-spacing:1px;
word-spacing:3px;
text-decoration:none;
}
.panel-heading a:before {
font-family: 'Glyphicons Halflings';
content: "\e114";
float: right;
transition: all 0.5s;
}
.panel-heading.active a:before {
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
transform: rotate(180deg);
}
</style>
<!--- End CSS -->
<body>
<div class="container">
<div class="wrapper center-block">
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading active" role="tab" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Collapsible Group Item #1
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingTwo">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Collapsible Group Item #2
</a>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
<div class="panel-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingThree">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
Collapsible Group Item #3
</a>
</h4>
</div>
<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
<div class="panel-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<javascript>
$('.panel-collapse').on('show.bs.collapse', function () {
$(this).siblings('.panel-heading').addClass('active');
});
$('.panel-collapse').on('hide.bs.collapse', function () {
$(this).siblings('.panel-heading').removeClass('active');
});
</javasript>
you can use this simple code.
Firstly you have to add these bootstrap files and then this simple code
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>
<!--- CSS -->
<style>
body{
padding:50px;
background:#fff;
}
.wrapper{
width:70%;
}
@media(max-width:992px){
.wrapper{
width:100%;
}
}
.panel-heading {
padding: 0;
border:0;
}
.panel-title>a, .panel-title>a:active{
display:block;
padding:15px;
color:#555;
font-size:16px;
font-weight:bold;
text-transform:uppercase;
letter-spacing:1px;
word-spacing:3px;
text-decoration:none;
}
.panel-heading a:before {
font-family: 'Glyphicons Halflings';
content: "\e114";
float: right;
transition: all 0.5s;
}
.panel-heading.active a:before {
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
transform: rotate(180deg);
}
</style>
<!--- End CSS -->
<body>
<div class="container">
<div class="wrapper center-block">
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading active" role="tab" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Collapsible Group Item #1
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingTwo">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Collapsible Group Item #2
</a>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
<div class="panel-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingThree">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
Collapsible Group Item #3
</a>
</h4>
</div>
<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
<div class="panel-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<javascript>
$('.panel-collapse').on('show.bs.collapse', function () {
$(this).siblings('.panel-heading').addClass('active');
});
$('.panel-collapse').on('hide.bs.collapse', function () {
$(this).siblings('.panel-heading').removeClass('active');
});
</javasript>
PHP: Loop through dates (from date to date) with strtotime() function
This is very easy way loop through dates (from date to date) with PHP
strtotime() function. This example only echo dates, but of course this
model can be used more complicated situations.
<?php
// Start date
$date = '2009-12-06';
// End date
$end_date = '2020-12-31';
while (strtotime($date) <= strtotime($end_date)) {
echo "$date\n";
$date = date ("Y-m-d", strtotime("+1 day", strtotime($date)));
}
?>
php time calculation between am to pm and pm to am
if you want to calculate total time against check in and check out
then
here shown
$timestart = strtotime("09:12:31 am");
$timeend = strtotime("01:51:19 pm");
$time_difference = $timeend - $timestart;
echo gmdate("h:i:s",$time_difference);
here is gmdate()
Format a GMT/UTC date and time and return the formatted date strings:
<?php
// Prints the day1. echo gmdate("l") . "<br>";
// Prints the day, date, month, year, time, AM or PM2. echo gmdate("l jS \of F Y h:i:s A") . "<br>";
// Prints October 3, 1975 was on a Thursday3. echo "Oct 3, 1975 was on a ".gmdate("l", mktime(0,0,0,10,3,1975)) . "<br>";
// Use a constant in the format parameter4. echo gmdate(DATE_RFC822) . "<br>";
// prints something like: 1975-10-03T00:00:00+00:005. echo gmdate(DATE_ATOM,mktime(0,0,0,10,3,1975));
?>
Results:
1. Tuesday
2. Tuesday 21st of May 2019 05:25:59 AM
3. Oct 3, 1975 was on a Friday
4. Tue, 21 May 19 05:25:59 +0000
5. 1975-10-03T04:00:00+00:00
Required. Specifies the format of the outputted date string. The following characters can be used:
then
here shown
$timestart = strtotime("09:12:31 am");
$timeend = strtotime("01:51:19 pm");
$time_difference = $timeend - $timestart;
echo gmdate("h:i:s",$time_difference);
here is gmdate()
Format a GMT/UTC date and time and return the formatted date strings:
<?php
// Prints the day1. echo gmdate("l") . "<br>";
// Prints the day, date, month, year, time, AM or PM2. echo gmdate("l jS \of F Y h:i:s A") . "<br>";
// Prints October 3, 1975 was on a Thursday3. echo "Oct 3, 1975 was on a ".gmdate("l", mktime(0,0,0,10,3,1975)) . "<br>";
// Use a constant in the format parameter4. echo gmdate(DATE_RFC822) . "<br>";
// prints something like: 1975-10-03T00:00:00+00:005. echo gmdate(DATE_ATOM,mktime(0,0,0,10,3,1975));
?>
Results:
1. Tuesday
2. Tuesday 21st of May 2019 05:25:59 AM
3. Oct 3, 1975 was on a Friday
4. Tue, 21 May 19 05:25:59 +0000
5. 1975-10-03T04:00:00+00:00
Required. Specifies the format of the outputted date string. The following characters can be used:
- d - The day of the month (from 01 to 31)
- D - A textual representation of a day (three letters)
- j - The day of the month without leading zeros (1 to 31)
- l (lowercase 'L') - A full textual representation of a day
- N - The ISO-8601 numeric representation of a day (1 for Monday, 7 for Sunday)
- S - The English ordinal suffix for the day of the month (2 characters st, nd, rd or th. Works well with j)
- w - A numeric representation of the day (0 for Sunday, 6 for Saturday)
- z - The day of the year (from 0 through 365)
- W - The ISO-8601 week number of year (weeks starting on Monday)
- F - A full textual representation of a month (January through December)
- m - A numeric representation of a month (from 01 to 12)
- M - A short textual representation of a month (three letters)
- n - A numeric representation of a month, without leading zeros (1 to 12)
- t - The number of days in the given month
- L - Whether it's a leap year (1 if it is a leap year, 0 otherwise)
- o - The ISO-8601 year number
- Y - A four digit representation of a year
- y - A two digit representation of a year
- a - Lowercase am or pm
- A - Uppercase AM or PM
- B - Swatch Internet time (000 to 999)
- g - 12-hour format of an hour (1 to 12)
- G - 24-hour format of an hour (0 to 23)
- h - 12-hour format of an hour (01 to 12)
- H - 24-hour format of an hour (00 to 23)
- i - Minutes with leading zeros (00 to 59)
- s - Seconds, with leading zeros (00 to 59)
- u - Microseconds (added in PHP 5.2.2)
- e - The timezone identifier (Examples: UTC, GMT, Atlantic/Azores)
- I (capital i) - Whether the date is in daylights savings time (1 if Daylight Savings Time, 0 otherwise)
- O - Difference to Greenwich time (GMT) in hours (Example: +0100)
- P - Difference to Greenwich time (GMT) in hours:minutes (added in PHP 5.1.3)
- T - Timezone abbreviations (Examples: EST, MDT)
- Z - Timezone offset in seconds. The offset for timezones west of UTC is negative (-43200 to 50400)
- c - The ISO-8601 date (e.g. 2013-05-05T16:34:42+00:00)
- r - The RFC 2822 formatted date (e.g. Fri, 12 Apr 2013 12:01:05 +0200)
- U - The seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)
- DATE_ATOM - Atom (example: 2013-04-12T15:52:01+00:00)
- DATE_COOKIE - HTTP Cookies (example: Friday, 12-Apr-13 15:52:01 UTC)
- DATE_ISO8601 - ISO-8601 (example: 2013-04-12T15:52:01+0000)
- DATE_RFC822 - RFC 822 (example: Fri, 12 Apr 13 15:52:01 +0000)
- DATE_RFC850 - RFC 850 (example: Friday, 12-Apr-13 15:52:01 UTC)
- DATE_RFC1036 - RFC 1036 (example: Fri, 12 Apr 13 15:52:01 +0000)
- DATE_RFC1123 - RFC 1123 (example: Fri, 12 Apr 2013 15:52:01 +0000)
- DATE_RFC2822 - RFC 2822 (Fri, 12 Apr 2013 15:52:01 +0000)
- DATE_RFC3339 - Same as DATE_ATOM (since PHP 5.1.3)
- DATE_RSS - RSS (Fri, 12 Aug 2013 15:52:01 +0000)
- DATE_W3C - World Wide Web Consortium (example: 2013-04-12T15:52:01+00:00)
Beautiful Landmarks In Pakistan
For centuries before obtaining independence, Pakistan was governed by different rulers, from the nature-loving Mughal Emperors to the British
colonialists. Such a complex and fascinating history has left behind
numerous military and religious landmarks scattered across the country,
where stunning mosques, forts, mausoleums and national monuments stand
to this day. Discover some of Pakistan’s best attractions and sights
with our guide to the country’s most striking examples of historic
architecture.
When Turkish architect Vedat Dalokay‘s
design was chosen for the Faisal Mosque, many raised their eyebrows.
The project differed from traditional mosque architecture, as it
featured contemporary, sleek lines and, most notably, lacked a dome.
Construction work began in 1976 and was finally completed ten years
later. By then, most criticism had crumbled in front of the imposing,
captivating building that now dominates Islamabad, Pakistan’s capital
city, from its elevated position at the foot of the Margalla Hills. The
mosque is named after Faisal bin Abdul-Aziz, the Saudi king who
suggested the idea of a national Pakistani mosque, and largely financed
its construction. The 5,000-square-meter prayer hall is an eight-sided,
concrete structure, inspired by the traditional tents of Bedouins, with a
capacity for 100,000 worshippers. It’s surrounded by four 88-metre-high
minarets in perfect one-to-one ratio with the base. They were designed
as the sides of an imaginary cube, in honor of the sacred, cubic Kaaba found at the centre of Mecca’s most important mosque.
The Pakistan Monument was inaugurated in Islamabad on 23 March 2007 as a
national monument embodying the country’s history, and is in effect
rich with significant cultural references. For its design, architect
Arif Masood drew inspiration from the figure of a blossoming flower to
represent the four provinces and three territories into which Pakistan
is subdivided. The structure consists of four bigger ‘petals’ (the
provinces), alternated with three smaller ones (the territories), built
in granite and decorated with murals on the inner sides. Seen from
above, the monument meaningfully recalls the five-pointed star on Pakistan’s national flag.
Below the petals, a metallic crescent is found, which is inscribed with
verses by Pakistan’s founder Muhammad Ali Jinnah and Indian poet Muhammad Iqbal.
Widely revered as the Great Leader or Father of the Nation throughout Pakistan, Muhammad Ali Jinnah was a pivotal figure in leading the country to independence from the British Empire. A beautiful mausoleum in Karachi, Pakistan’s largest city and Jinnah’s hometown, celebrates his memory and is home to his tomb, as well as those of his sister and Pakistan’s first prime minister. The mausoleum’s bold design impresses with its striking yet iconic simplicity: a nearly cubic base, with an extension of 75 square meters, topped by a large dome, both clad with splendid white marble. The sanctum can be entered on any of the four entrances, one on every wall, and each situated under an eye-catching Moorish arch. Jinnah’s tomb lies on an elevated platform rising in the middle of the stunning surrounding park, with beautiful moans and a set of 15 successive fountains that lead the eye towards the mausoleum.
Shalimar Gardens
Completed in 1641, the Shalimar Gardens were the possession of a noble, Pakistani family, a governance not difficult to guess at all, considering the magnificence of this beautiful site. The gardens are laid out over three descending, successive terraces carrying the poetic names of Bestower of Pleasure, Bestower of Goodness and Bestower of Life, each rising four to five meters above the other. Despite the ravishing flowers and lush fruit trees, the flora isn’t the best attraction of these gardens, as the misleading name might suggest. In fact, most striking are the large pools placed in the middle of the terraces, which receive water from hundreds of fountains (410 in total across the three terraces). The quaint pavilions, porticoed audience halls and marble basins found along the edges of the pools complete a peaceful, dream-like and refreshing corner in the city of Lahore.
Faisal Mosque
Pakistan Monument
Tomb of Muhammad Ali Jinnah (Mazar-e-Quaid)
Widely revered as the Great Leader or Father of the Nation throughout Pakistan, Muhammad Ali Jinnah was a pivotal figure in leading the country to independence from the British Empire. A beautiful mausoleum in Karachi, Pakistan’s largest city and Jinnah’s hometown, celebrates his memory and is home to his tomb, as well as those of his sister and Pakistan’s first prime minister. The mausoleum’s bold design impresses with its striking yet iconic simplicity: a nearly cubic base, with an extension of 75 square meters, topped by a large dome, both clad with splendid white marble. The sanctum can be entered on any of the four entrances, one on every wall, and each situated under an eye-catching Moorish arch. Jinnah’s tomb lies on an elevated platform rising in the middle of the stunning surrounding park, with beautiful moans and a set of 15 successive fountains that lead the eye towards the mausoleum.
Minar-e-Pakistan
On 23 March 1940, the All-India Muslim League passed a resolution that
represented the decisive step towards the foundation of Pakistan. Twenty
years later, on the site in Lahore where that historical event had
taken place, construction work began on a commemorative monument, the
Minar-e-Pakistan, which was completed eight years later. The
Minar-e-Pakistan is a 62-meter-high minaret rich in symbols standing for
the history of Pakistan. The tower is laid on an elevated base, in the
shape of a five-pointed star, which comprises of four platforms. The
stones used to build each platform are progressively more refined from
the bottom up (ranging from uncut stones to polished white marble), to
signify the difficult developments but final success of the Pakistan
Movement for independence. Like Islamabad’s Pakistan Monument, this
landmark’s lower part is built in the shape of a blossoming flower, from
which the tower rises as a symbol of the country’s birth. The
Minar-e-Pakistan is situated in a large park, quite popular among
Lahorites, which is visible along with pretty much the entire city from
the minaret’s top dome.
Wazir Khan Mosque
The Walled City of Lahore or Old Lahore is a historical and chaotic section of the Pakistani city which used to be protected by walls, and entered through 13 gates. Today, the walls are gone but most of the gates have remained. The Wazir Khan Mosque in Old Lahore can be reached by passing through the Delhi Gate. The magnificent mosque, with four minarets of about 33 meters each and five turnip-shaped domes, is built entirely with small bricks and was named after the governor who ordered its construction in 1634. One of the most beautiful mosques in Pakistan, it is best known for its incredible mosaics made from myriads of brightly colored glazed tiles. These are found all over the external and internal walls, and are so meticulous and rich in details that they make Wazir Khan a stunning piece of art, in addition to a religious site. This mosque is also famous for having been the first to include a 22-shop bazaar in its original planning, still today a unique feature among mosques worldwide.
Derawar Fort
A visit to the Derawar Fort requires a three to four-hour long trip with a four-wheel vehicle, but those with a soft spot for military structures won’t regret the journey. Found in the middle of nowhere, miles into the Cholistan Desert, the awe-inspiring Derawar Fort, built in 1733, dominates the landscape, and is characterized by a unique ensemble of 40 massive, largely intact bastions set all along the four walls. The ramparts rise about 30 meters above the ground, and the fort has an impressive circumference of 1.5 kilometers. Visiting the fort’s interiors requires a special permission by local authorities, and may not be worth the trouble of going through such process: the imposing bastions are in fact the real attraction of this striking landmark. While on site, however, visitors might also enjoy taking a look at the nearby mosque, an almost exact replica of the Moti Mosque right outside Delhi’s Red Fort.
Hiran Minar
When a beloved pet dies, what people usually do to keep its memory alive
is preserve pictures and maybe a few objects to remember it by. In
1606, when Mughal Emperor Jahangir’s pet deer died, he had a minaret
built to commemorate it. The Hiran Minar (Deer Tower) is situated in the
Pakistani city of Sheikhupura, which briefly enjoyed the status of a
popular hunting ground in the early 1600s. One day, during a hunting
session, Jahangir spotted a deer he wanted to kill, but mistakingly hit
his favorite hunting deer, Mansraji, instead. Feeling guilty, the
Emperor ordered the construction of the minaret. Almost thirty years
later, the mausoleum was enriched with an adjoining, large water tank;
in the middle of the tank lies a picturesque octagonal pavilion,
connected to the mainland through an elevated walkway. A rare
celebration of the love of man for animals, the Hiran Minar is an
attractive sight that certainly deserves to be seen.
Lahore Fort
The origins of the Lahore Fort, a stronghold in Old Lahore,
are so ancient that it’s impossible to establish precisely when the
fort was first constructed. It is known, however, that in the second
half of the 16th century, the original mud-brick structure was
demolished and rebuilt with burnt bricks. Since then, this fortified
citadel has undergone numerous other modifications at the hands of
almost all the rulers who reigned over Lahore, British colonialists
included. As a result, it summarizes Pakistan’s amazing cultural
heritage in the various artistic influences seen throughout its wide
range of different buildings: mosques, mausoleums, palaces, audience
halls, baths, watch towers, and more. A journey through Lahore Fort is
in fact a journey through Pakistan’s past, and is for this reason
recommended to anyone visiting the country.
Badshahi Mosque
The majestic Badshahi Mosque in Lahore is one of the most stunningly beautiful sacred sites for Muslims. Built in 1673, this mosque was the world’s largest for over 300 years until the Faisal Mosque was completed in 1986. Its huge courtyard, which stretches over an area of 26,000 square meters, remains the biggest in the world, and can host up to 95,000 worshippers. The mosque’s external walls are clad with red sandstone panels, painstakingly sculptured with beautiful, lotiform motifs and embellished with marble inlays. As per tradition, the mosque has four minarets and three domes, the central one bigger than the other two. These are coated with white marble, which creates a striking contrast with the dominating red. Travelers welcomed into the mosque through a grand entrance gate will discover that inside the building isn’t any less breathtaking, with its cornucopia of arches, stucco tracery and frescoes which never fail to astonish.
https://youtu.be/0w181F-cEG4
cs 402 GDB solution
vu CS402 fall 2019 GDB
vu cs402 gdb solution
Task:
"Theory of automata is study of abstract machines, like Turing Machines,
Finite State Machines, Push Down Automata, Mealy and Moore Machines. You
have to discuss and explain which kind of automaton machine promisingly
can serve as a recognizer for context-free languages."
Solution:
Context Free languages (CFLs)
are languages that are recognized by Context Free Grammars,
i.e., grammars whose production rules are of the form N → (N ∪ Σ)⇤. They are
also languages that are recognized by a type
of machine called Pushdown automata.
Pushdown Automata (PDA) is the machine format of context
free language (CFL). It is one type of finite state machine (FSM) which is used
to accept only CFLs.
VU CS402 GDB solution
Subscribe to:
Posts (Atom)
Featured Post
Assignemtn solution for CS61 spring 2020
Assignment solution CS601 S. No. Question Answer 1 Which type of topology is used in ...
-
Assignment solution CS601 S. No. Question Answer 1 Which type of topology is used in ...
-
If you want to save arabic, Urdu, or other than english language data just change collations type like Change the database tables collati...
-
Laravel query for pagination $user = User::paginate(5,['id','name','username'.....]);






