Is possible to create own time format for day with 26 hours?

Yes.

Your best bet would probably be defining a new type, with the relevant constructors (parsers) and operations. You can probably reuse a lot of code from the implementation in Base (which is pretty lightweight anyway).

Alternatively, writing a very, very thin wrapper around DateTime that just parses and displays with an offset may be an easy solution, provided that your day has 24 hours (contrary to what you say above), just with an offset.

2 Likes