Skip to content

UnixTime · QA & Testing

Test the day boundary. Skip the timestamp maths.

Expired sessions, future appointments, midnight: set your test time in the UnixTime date generator and copy the value your test needs.

Check timestamp test data on Mac: preserve fractional seconds with nanosecond precision, without rounding.

macOS 14.6+ · One-time purchase · Local to your Mac

OfflinePrivacy without uploadsNo account requiredOn all your Macs

Sound familiar?

Less friction when working with time.

01

Boundary cases need specific times

Set the date, time and time zone explicitly so your test case is easy to reproduce.

02

An expiry date lies in the future

Add or subtract time intervals in the generator instead of calculating the timestamp yourself.

03

A test needs to be repeatable

Copy the generated value into your test data and record the selected time zone in the test case.

Your next time value

Three steps to a readable result.

  1. Set the test time

    Open the date generator and choose 1 October 2026 at 00:00:00 UTC.

  2. Choose the unit

    Use milliseconds if that is what your test system expects.

  3. Copy into your test data

    Copy the value into your test case. Adjust the time to create further cases.

The example uses UTC. Your output follows your selected default formats. Direct insertion via a shortcut requires macOS Accessibility permission.

Formats and keyboard shortcuts explained →
UnixTime on Mac: Set the date, time zone and time offset in the date generator.
Set the date, time zone and time offset in the date generator. App screenshot; values may differ from the example.

Precision for log analysis & forensics

Does not round. Down to the nanosecond.

Convert Unix timestamps with nanosecond precision. UnixTime preserves fractional seconds from numeric input timestamps. No floating-point rounding. No zeros recreated from whole seconds.

17908128001234567892026-10-01 00:00:00.123456789 UTC

Example: Unix nanoseconds, a custom date format and the UTC time zone. Source accuracy still matters; conversion does not invent extra measurement precision.

Custom formats: 3, 6 or 9 digits.

PatternDisplay precisionExample
SSSMilliseconds (3 digits).123
SSSSSSMicroseconds (6 digits).123456
SSSSSSSSSNanoseconds (9 digits).123456789

Use, for example yyyy-MM-dd HH:mm:ss.SSSSSSSSS. Nine digits display the full nanosecond fraction. Three or six display only the leading digits, without rounding up. A pattern without S does not display fractional seconds.

Keyboard shortcuts on your Mac

Keep typing. Your timestamp is ready.

Copy your time value and click the menu bar icon — or press ⌘⌃U. Reassign any of the four shortcuts to suit your workflow.

⌘⌃U
Convert the clipboard
⌘⌃V
Convert and replace your selection
⌘⌃⌥V
Append the conversion to the original
⌘⌃N
Insert the current timestamp

⌘ = Command · ⌃ = Control · ⌥ = Option. Inserting, replacing and appending text require macOS Accessibility permission and an editable text field. Clipboard conversion does not require that permission.

Keyboard shortcuts explained →
UnixTime settings: four global keyboard shortcuts and custom separators for appended results
Your shortcuts, your separators. Customise them in Settings.

Before you start

Your questions, answered.

Does UnixTime run my tests?

No. UnixTime generates and converts time values. Test execution and assertions remain in your testing tools.

Can I generate random times too?

Yes. The generator offers random dates and times. Save the specific generated value when you need a reproducible test.

How do I display fractional seconds?

Use a custom date format: SSS for milliseconds (3 digits), SSSSSS for microseconds (6 digits), or SSSSSSSSS for nanoseconds (9 digits). Choose nine digits to display all available nanoseconds. Shorter patterns show only the leading digits, without rounding up.

What do I need to use keyboard shortcuts?

UnixTime must be running on your Mac. All shortcuts can be reassigned. Replacing, inserting and appending text require macOS Accessibility permission and an editable destination. Converting the clipboard with the menu bar icon or ⌘⌃U does not require that permission. ⌘ means Command, ⌃ means Control and ⌥ means Option (Alt).

Does it work offline?

Yes. Conversion, the date generator and history run locally. They need neither an account nor an internet connection. UnixTime is a one-time purchase without a subscription; see the Mac App Store for the current price.

For your next timestamp

Test the day boundary. Skip the timestamp maths.

Install UnixTime, choose your default formats and try the workflow with your own time value.

Download on the Mac App Store

For macOS 14.6 and later. Current price in the App Store.