Time Machine Clock - Online Past & Future Time Viewer
Set a date in the far future or past and see a mock clock with impossible times. Purely for fun.
UD5 Toolkit
Generate perfect date format strings for MySQL, PostgreSQL, SQL Server, Oracle & SQLite. Real-time preview & instant SQL snippets.
SELECT DATE_FORMAT(NOW(), '%Y-%m-%d') AS formatted_date;
| Specifier | Description | Example |
|---|
DATE_FORMAT(date, format) with percent-prefixed specifiers like %Y, %m, %d.
PostgreSQL uses TO_CHAR(date, format) with all-uppercase specifiers like YYYY, MM, DD.
The two systems have completely different format string syntaxes, which is why this generator exists — to help you quickly switch between them without memorizing both.
FORMAT(date, format) which uses .NET-style format strings (e.g., yyyy-MM-dd, MMMM dd, yyyy).
For older SQL Server versions, you must use CONVERT() with predefined style codes or manually concatenate date parts using DATEPART().
The FORMAT function is more flexible but can be slower on large datasets since it relies on CLR.
strftime(format, date_string) function with format specifiers similar to MySQL (percent-prefixed like %Y, %m, %d).
Important: In SQLite, %M means minutes (unlike MySQL where %i is minutes and %M is the full month name).
Also, SQLite stores dates as TEXT strings, so you need to ensure your date column is in a recognized format like ISO 8601.
YYYY-MM-DD) is universally recognized and works across all major databases.
For timestamps, YYYY-MM-DD HH24:MI:SS (or equivalent) is the most portable.
When building applications that may switch databases, always store dates in ISO 8601 format and format them at the application layer when possible.
This generator helps you create the correct format string for each database's specific syntax.
TO_CHAR with MONTH or DAY pads the result with trailing spaces to a fixed width (9 characters for MONTH, 9 for DAY).
To remove these extra spaces, wrap the result with TRIM(): SELECT TRIM(TO_CHAR(SYSDATE, 'MONTH')) FROM dual;.
Alternatively, use MON (abbreviated) or fmMONTH (fill-mode prefix) to suppress padding.
YEAR(), MONTH(), DAY(); PostgreSQL uses EXTRACT(YEAR FROM date);
SQL Server uses DATEPART(year, date); Oracle uses EXTRACT(YEAR FROM date); SQLite uses strftime('%Y', date).
For simple extraction, these functions are often cleaner than full format strings.
DATE_FORMAT(FROM_UNIXTIME(epoch), '%Y-%m-%d').
In PostgreSQL: TO_CHAR(TO_TIMESTAMP(epoch), 'YYYY-MM-DD').
In SQL Server: FORMAT(DATEADD(second, epoch, '1970-01-01'), 'yyyy-MM-dd').
In Oracle: TO_CHAR(TIMESTAMP '1970-01-01 00:00:00' + NUMTODSINTERVAL(epoch, 'SECOND'), 'YYYY-MM-DD').
In SQLite: strftime('%Y-%m-%d', epoch, 'unixepoch').
Set a date in the far future or past and see a mock clock with impossible times. Purely for fun.
Enter LMP or conception date and get detailed week‑by‑week milestones, trimester info, and due date. Educational only.
Paste a list of JavaScript values and see them pretty‑printed as if in the browser console. Great for debugging.
Create a clear, structured bug report or support ticket with environment, steps, and expected result. Copy/paste.
Find average first and last frost dates for your zip code using cached NOAA data. Garden planning essential.
Generate a random, completely nonsensical pseudocode block. Perfect for filling whiteboards in mockups. Just for laughs.
Query DNS records for any domain directly from your browser using DNS-over-HTTPS. See A, AAAA, MX, CNAME, and TXT. No logs.
Create a custom click pattern with accents for 5/4, 7/8, or any complex meter. Visual and audio feedback.
Calculate the series resistor and power dissipation for a zener diode voltage regulator. Input voltage, output voltage, load current. Local only.
Design a realistic-looking fake receipt with custom store name, items, and total. For jokes and gags. No real transaction.
Preview how a CMYK value will look on screen (approximate). Compare with its RGB equivalent. Pre‑press check.
Paste HTML and see a collapsible tree of tags. Understand document outline and nesting. Handier than raw code.
Interactive guide to crimping RJ45 connectors. See the wire order for T568A/B standards. Helpful for DIY network cables.
Set times to automatically switch light/dark theme on any website using a bookmarklet or live demo.
Enter a message and render it as an image of dots and dashes. Customizable colors. Great for posters.
Set a reminder to change smoke detector batteries every 6 months. Optional sound alert and visual countdown. Local browser notification, stay safe.
Enter a dialling code (+44, +1) to find which country it belongs to. Also search by country name. Static reference.
Create a custom vibration or beep pattern from a short Morse code message. Design unique ringtone ideas.
Upload an RGB image and simulate how it might look when printed in CMYK. See out‑of‑gamut warnings. Pre‑press helper.
Type two letters and see if your chosen font has a kerning pair for them. Adjust tracking and see live spacing.
Use your keyboard or mouse as a straight key. Hear the tone and see the dots/dashes. Perfect for learning CW. Local.
Enter text and generate the corresponding Morse code audio beeps. Adjust speed and tone. Great for learning and practicing CW. No download.
Paste a regular expression and get a step‑by‑step plain English explanation of what it does. Learn regex.
Practice sending Morse code using a virtual straight key. Visual feedback and audio tone. Learn timing and proper fist.
Visually configure scroll‑snap containers and items. Adjust alignment, stop behavior, and padding. Copy the clean CSS instantly.
Generate the MD5 hash of any text string. For quick integrity checks. All local computation.
Format a list of Q&A pairs and export as a CSV ready for Anki import. Simple line‑based template. Local.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS text‑decoration.
Generate a random medieval occupation with a short description. For NPCs or historical curiosity. Local list.
Design a fully styled scrollbar with colors, width, radius, and hover effects. Supports both ::-webkit‑scrollbar and Firefox scrollbar‑width.