Hijri to Gregorian Converter – Online Umm al‑Qura Estimate
Convert dates between Hijri and Gregorian using the Umm al‑Qura algorithm. Approximate local moon sighting may vary.
UD5 Toolkit
Instantly translate between Quartz Scheduler Cron (6/7 fields) and Unix Crontab (5 fields) expressions. Handles weekday mapping, special characters, and format differences.
| Field | Quartz Cron | Unix Cron | Notes |
|---|---|---|---|
| Seconds | 0–59 | — (not present) | Quartz has seconds; Unix starts at minutes |
| Minutes | 0–59 | 0–59 | Same in both formats |
| Hours | 0–23 | 0–23 | Same in both formats |
| Day of Month | 1–31 | 1–31 | Quartz supports ?, L, W |
| Month | 1–12 / JAN–DEC | 1–12 / JAN–DEC | Same in both formats |
| Day of Week | 1–7 (1=SUN) | 0–6 (0=SUN) | Key difference! Mapping differs by 1 |
| Year | [optional] 1970–2099 | — (not supported) | Quartz optional 7th field; dropped in Unix |
? (converted to *), L, W, # — these will trigger a warning on conversion.
Quartz Cron uses 6 or 7 fields: Seconds Minutes Hours Day-of-Month Month Day-of-Week [Year]. It's used by the Quartz Scheduler in Java applications (including Spring Boot). Unix Cron (crontab) uses 5 fields: Minutes Hours Day-of-Month Month Day-of-Week. The key differences are: (1) Quartz has a seconds field; Unix does not. (2) Quartz weekday numbering is 1–7 (1=Sunday); Unix is 0–6 (0=Sunday). (3) Quartz supports extra special characters like ?, L, W, and # that Unix cron does not.
In Quartz, weekdays are numbered 1–7 where 1 = Sunday, 2 = Monday, ..., 7 = Saturday. In Unix cron, weekdays are 0–6 where 0 = Sunday (7 also means Sunday). The mapping formula: Unix = Quartz − 1 (e.g., Quartz 2/Monday → Unix 1/Monday). When using day names (SUN, MON, etc.), they remain the same across both formats since the names are identical.
? character during conversion?
The ? character in Quartz means "no specific value" and is used in either the Day-of-Month or Day-of-Week field (not both). When converting to Unix cron, ? is replaced with * (every value), since Unix cron doesn't support the ? concept. This preserves the intended behavior in most cases.
Yes! This tool supports bidirectional conversion. When converting Unix → Quartz, a seconds field of 0 is prepended, and weekday numbers are mapped from Unix (0–6) to Quartz (1–7). Click the swap button () to reverse the direction. However, note that Quartz-specific features (like L, W, #) cannot be recovered from a Unix expression.
L, W, and # in Quartz cron?
These are Quartz-specific special characters: L = "Last" (e.g., L in Day-of-Month = last day of month; 5L in Day-of-Week = last Thursday). W = "Weekday" (nearest weekday to the given day, e.g., 15W). # = "Nth weekday" (e.g., 2#3 = 3rd Monday). None of these are supported in Unix cron, so converting them will produce a warning and the characters may be simplified or stripped.
In most simple cases, the conversion is exact. However, differences can arise because: (1) Quartz treats Day-of-Month and Day-of-Week as an OR relationship when both are specified (not ? or *), while Unix cron behavior varies by implementation. (2) Quartz's L, W, and # have no Unix equivalent and are simplified. (3) Unix cron's 7 for Sunday is mapped to Quartz 1. Always test your converted expressions in the target environment.
No. The optional Year field (7th field) in Quartz cron is dropped when converting to Unix, since Unix cron has no year field. When converting Unix → Quartz, no year field is added (the 6-field Quartz format is used). If you need year-specific scheduling, you'll need to handle that at the application level.
Quartz Cron: Seconds 0–59 | Minutes 0–59 | Hours 0–23 | Day-of-Month 1–31 | Month 1–12 or JAN–DEC | Day-of-Week 1–7 or SUN–SAT | Year (optional) 1970–2099.
Unix Cron: Minutes 0–59 | Hours 0–23 | Day-of-Month 1–31 | Month 1–12 or JAN–DEC | Day-of-Week 0–7 or SUN–SAT (0 & 7 both = Sunday). Both formats support *, ,, -, and / special characters.
Yes! Both Quartz and Unix cron support three-letter abbreviations for months (JAN–DEC) and weekdays (SUN–SAT). The names are case-insensitive in most implementations. This tool preserves name-based values during conversion, which is especially helpful for weekday fields since the numeric mapping differs but the names remain the same across formats.
Convert dates between Hijri and Gregorian using the Umm al‑Qura algorithm. Approximate local moon sighting may vary.
Convert any text to upside down (flipped) characters using Unicode mappings. Copy and paste to social media. 100% local, no data sent.
Enter CMYK values and find the closest Pantone Solid Coated color. For print design reference. Client‑side lookup.
Pick any emoji and download it as a high‑resolution PNG image with transparent background. For social media or icons.
Convert hex or RGB to CIELAB L*a*b* values. Understand perceptual lightness and color opponents. Local math.
Convert currencies using a built‑in table of approximate fixed rates. Useful for quick estimates without live data. Local.
Convert Markdown to styled HTML that retains formatting when pasted into Google Docs or Word. Headings, bold, lists. Client‑side.
Convert any image into colored ASCII art using divs with background colors. Creates a stunning text‑based replica. View & copy HTML.
Type or paste Korean Hangul and see the revised romanization. Also works backwards for basic words. Study aid.
Paste CSV and get a beautiful HTML table with sortable headers (optional). Copy the full HTML/CSS snippet. Local.
Enter a Kelvin value (1000‑40000) and see the approximate white‑balance color. Photography and lighting reference.
Drop an image that might have wrong extension and see its real format (JPEG, PNG, WebP) based on header bytes.
Convert a numeric amount into English words, perfect for writing checks or legal documents. Supports USD/GBP styles.
Convert between Gregorian and Hijri (Islamic) dates. Approximate visual reference. Local algorithm.
Convert a Gregorian calendar date to its Julian Day Number and vice versa. Used in astronomy and mainframe computing.
Encode short audio clips into Base64 data URIs for direct embedding in HTML5 <audio> tags. No external files needed.
Translate between binary and Gray code (reflected binary code). See the bit changes. Useful for digital logic.
Encode decimal integers into signed magnitude binary representation and decode back. Learn computer arithmetic.
Convert a decimal number to 32-bit single precision IEEE 754 format. See sign, exponent, mantissa bits. Developer tool.
Convert any date into Roman numerals (day‑month‑year) for tattoos or special occasions. Clean and local.
Convert minutes to decimal hours and vice versa. Essential for billing and payroll. Instant conversion with a handy chart.
Convert between units of absorbed dose and equivalent dose (Gray, Rad, Rem, Sievert). Educational and reference. Local calculation.
Convert between decimal degrees, degrees-minutes-seconds (DMS), radians, and grads. High-precision for surveying and navigation. Local tool.
Convert torque units between Newton-meter, foot-pound, inch-pound, and more. Essential for mechanics and engineers. Instant local conversion.
Convert audio files between popular formats like WAV, MP3, and OGG directly in the browser. No upload, fast encoding using WebAudio and ffmpeg wasm.
Strip HTML tags and convert web content to plain Markdown. Preserve headings, lists, and links. Perfect for content migration. All processing in browser.
Easily convert JSON data arrays into CSV format for Excel or database import. Handles nested structures with flattening options. All conversions happen locally, no data uploaded.
Convert between common pressure units: Pascal, Bar, PSI, atmosphere, and Torr. Useful for engineering and weather enthusiasts. Local calculation.
Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds. Ideal for developers debugging time-related code.
Convert any image into beautiful ASCII art. Adjust brightness and character set for the best effect. Share text-based pictures. Runs entirely in the browser.