LogoNavigation Menu

Calendar Query Tool Guide: Online Date Query, Lunar Calendar Conversion & Holiday Query

Detailed guide on how to use online calendar query tool for date query, solar-lunar calendar conversion, traditional holiday query and holiday display. Support date calculation, workday judgment, client-side processing, fast and accurate.

Utily Team
2026-01-30
3123 views
Calendar Query Tool Guide: Online Date Query, Lunar Calendar Conversion & Holiday Query

What is a Calendar Query Tool?

The calendar query tool is a powerful online date query and calculation tool that helps you:

  • Query Date Information:Quickly query detailed information for any date
  • Solar-Lunar Calendar Conversion:Accurately convert between solar and lunar calendars
  • Traditional Holiday Query:Query the solar calendar dates corresponding to Chinese traditional holidays
  • Holiday Display:Automatically identify and highlight solar and traditional holidays
  • Date Calculation:Calculate which day of the year, which week, whether it's a workday, etc.

How to Use the Calendar Query Tool?

Visit the Calendar Query Tool page. The tool provides multiple functions:

1. Calendar Display

The tool displays the current month's calendar by default:

  • Use left and right arrows to switch months and years
  • Click any date to view detailed information
  • Today is highlighted in green
  • Solar and traditional holidays are highlighted in red (Chinese environment only)

2. Date Query

Enter date format (YYYY-MM-DD) to query detailed information:

  1. Enter date in the "Date Query" area, format: 2024-01-15
  2. The system automatically displays detailed information for that date
  3. Display includes: day of week, whether it's a workday, solar holidays, traditional holidays, etc.

Query results include

  • Date:Year, month, day
  • Day of week:Which day of the week
  • Type:Workday or weekend
  • Solar holidays:New Year's Day, Labor Day, National Day, etc.
  • Traditional holidays:Spring Festival, Mid-Autumn Festival, Dragon Boat Festival, etc. (Chinese environment only)
  • Lunar date:Corresponding lunar year, month, day (Chinese environment only)

3. Traditional Holiday Query

Query the solar calendar dates of Chinese traditional holidays in a specified year:

  1. Select a holiday from the "Traditional Holiday" dropdown
  2. The system automatically displays the corresponding solar calendar date for that holiday in the current year
  3. Supported holidays include: Spring Festival, Lantern Festival, Qingming Festival, Dragon Boat Festival, Qixi Festival, Mid-Autumn Festival, Double Ninth Festival, Laba Festival, Little New Year

Holiday Query Examples

Select "Spring Festival" → Display: February 10, 2024
Select "Mid-Autumn Festival" → Display: September 17, 2024
Select "Qingming Festival" → Display: April 4, 2024

4. Current Date Information

The tool automatically displays today's detailed information:

  • Day of Year:How many days have passed this year
  • Week of Year:Which week of the year
  • Day of Week:Which day of the week today is
  • Is Workday:Determine if today is a workday (Monday to Friday)

Tool Features

1. Accurate Lunar Calendar Conversion

Uses professional lunar-javascript library for accurate conversion between solar and lunar calendars:

  • Supports solar to lunar conversion, displaying lunar year, month, day
  • Supports lunar to solar conversion, querying solar dates corresponding to lunar holidays
  • Correctly handles leap months
  • Supports date range from 1900 to 2100

2. Traditional Holiday Recognition

Automatically identifies and displays Chinese traditional holidays:

  • Lunar holidays:Spring Festival, Lantern Festival, Dragon Boat Festival, Qixi Festival, Mid-Autumn Festival, Double Ninth Festival, Laba Festival, Little New Year
  • Solar holiday:Qingming Festival (calculated astronomically, usually April 4-6)
  • Holidays are highlighted in red on the calendar
  • Click a date to see if it's a holiday

3. Solar Holiday Display

Automatically identifies and displays solar holidays:

  • New Year's Day, Valentine's Day, Women's Day, Arbor Day, April Fool's Day, Labor Day, Youth Day, Children's Day
  • Party Founding Day, Army Day, Teacher's Day, National Day, Halloween, Christmas, etc.
  • Holidays are highlighted in red on the calendar

4. Workday Judgment

Automatically determines if a date is a workday:

  • Workday:Monday to Friday
  • Weekend:Saturday and Sunday
  • Display type in date query results

5. Multi-language Support

The tool supports multi-language display:

  • Chinese environment:Display traditional holidays, lunar dates, Chinese day names
  • Other languages:Display only solar calendar, no traditional holidays or lunar information

Usage Tips

1. Date Format

When entering dates, please use the standard format YYYY-MM-DD

  • Correct format:2024-01-15, 2024-12-25
  • Incorrect format:2024/01/15, 01-15-2024
  • Year must be 4 digits, month and day must be 2 digits

2. Traditional Holiday Query

When querying traditional holidays:

  • Holiday dates are automatically calculated based on the currently displayed year
  • Solar dates corresponding to lunar holidays are different each year
  • Qingming Festival is a solar holiday, but the date varies slightly based on astronomical calculations (April 4-6)

3. Calendar Navigation

Use calendar navigation features:

  • Click left and right arrows to switch months
  • Quickly jump to any year and month
  • Click "Today" button to quickly return to current date

4. Date Highlighting

Color indicators on the calendar:

  • Green:Today
  • Red:Solar or traditional holidays (Chinese environment only)
  • Normal color:Regular dates

Common Questions

1. Why are some holidays displayed and others not?

The tool displays different holidays based on language environment:

  • Chinese environment:Display solar and traditional holidays
  • Other languages:Display only solar holidays, no traditional holidays

2. Is lunar calendar conversion accurate?

The tool uses the professional lunar-javascript library, supporting accurate conversion for 1900-2100, including correct handling of leap months.

3. Why does Qingming Festival date vary each year?

Qingming Festival is determined by astronomical calculations, usually on April 4, 5, or 6. The tool automatically calculates the accurate date based on astronomical algorithms.

Conclusion

The calendar query tool is a practical date query tool for daily work and life. Through the online calendar query tool, you can:

  • Quickly query detailed information for any date
  • Accurately convert between solar and lunar calendars
  • Query solar calendar dates corresponding to Chinese traditional holidays
  • View holiday and workday information
  • Learn time information such as which day and week of the year
  • Client-side processing, data not uploaded to server, secure and reliable

The tool supports accurate lunar calendar conversion, traditional holiday recognition, workday judgment and other functions, making it a practical tool for querying dates and holidays.

You May Also Like

Calendar Query Tool Guide: Online Date Query, Lunar Calendar Conversion & Holiday Query | Utily.cc