Queries on a Date

Description

At the category called "Queries on a Date" you can perform queries on a particular date.

If you select a date by the Date Picker, this module will be loaded automatically.

Input

The date has to be entered in a form that is typical for the selected locale. For example, if your graphical user interface is US english, you enter the date in the form MMM DD, YYYY.

since 01.01.0001 a date will be interpreted as "Julian Calendar" and
since 15.10.1582 a date will be interpreted as "Gregorian Calender".

Example: Feb 22, 1732 (that is George Washington's birthday)

Output

The following queries are supported:

Day of week
Determines the day of week (e.g. Monday, Tuesday, etc.).

Example: George Washington was born on a Friday.

Day of year
Determines the Day of the year.

Example: The 22th of February was the 53th day in the Jahr 1732.

Days remaining until end of year
Determines the number of days until the end of a year.

Example: 313 days have been passed after Washington's birthday unitl the end of the year 1732.

Days remaining until end of month
Determines the number of days until the end of a month.

Example: 7 days have been passed after Washington's birthday until the end of February in 1732.

Week of Year
Determines the week of a year

Example: Feb 22 was in the 8th week of the year 1732

Week of month
Determines the week of a month.

Example: Feb 22, 1732 was in the 3rd week of February.

Days in month
Determines the number of days in a month.

Example: the Februar 1732 have had 29 days.

Month
Determines the name of the month to a given date.

Example: the month when George Washington was born is called February.

Leapyear?
Determines whether the year of a given date is a leapyear or not.

Example: 1732 was a leapyear

Decade
Determines the decade of a given date.

Example: George Washington was born in the 174th decade.

Century
Determines the century of a given date.

Example: Geroge Washington was born in the 18th century.

Millennium
Determines the millenium of a given date.

Example: George Washington was born in the 2nd millennium.

Identical year in the past (weekdays)
Determines the year in the past that is identical to the year of the given date (weekdays only, not holidays).

Example: A calendar from 1704 could be reused in the year 1732 again.

Identical year in the future (weekdays)
Determines the year in the future that is identical to the year of a given date (weekdays only, not holidays).

Example: If you have kept a calendar from 1732 another 28 years, you could have reused it again in the year 1760.

Age (in Years)
Determines the date as a birthdate and calculates the age in years.

Example: George Washington was born for more than 280 years.

Age (in Days)
Determines the date as a birthdate and calculates the age in days.

Example: on June 2, 2013, George Washington was 102734 days old already.

Chinese Year

It tells us something about the Chinese Year for a given date. Output consists of the earthly branch, heavenly stem and whether Ying or Yang applies. The year of the entered date has to be greater than 1646 and it has to be lighter than 2343 in order to produce correct values.

Example: Rat (Water, Yang), that means George Washington was born in the Chinese Year of the Rat.

Zodiac sign
Determines the date as a birthdate and returns the western zodiac sign.

Example: George Washington was born in the sign of the Pisces.

Note: the algorithm very simple and may be imprecise, because the value being returned is based on average of the sun transit and the actual transition is also dependent on the exact birth time which is being ignored.

Season
Determines the season for dates in the German timezone.

Note: the season may be incorrect if the date is not in the German timezone.

Example: George Washington was born in the America when it was winter in Germany.