Skip to content
Discussion options

You must be logged in to vote

I’ve experimented with BitDT integration in one of my Java micro-utilities for time tracking and logging.

Here’s a small example comparing standard ISO timestamps vs BitDT’s compact form:

import java.time.Instant;
import java.time.format.DateTimeFormatter;

public class BitDTExample {
    // Simple BitDT-style ultra-compressed timestamp (Base36)
    public static String toBitDT(long epochMillis) {
        return Long.toString(epochMillis, 36).toUpperCase();
    }

    public static long fromBitDT(String bitdt) {
        return Long.parseLong(bitdt.toLowerCase(), 36);
    }

    public static void main(String[] args) {
        long now = System.currentTimeMillis();

        // Normal ISO t…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@DanexCodr
Comment options

@DanexCodr
Comment options

Answer selected by DanexCodr
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other General topics and discussions that don't fit into other categories, but are related to GitHub
2 participants