Crossing TT, Dotting II, Y2K38, T-12 lazarus / 21-General ---------------------------------------------------------------------- Gustavo 'Gus' Carreno · 2026-01-26 21:40 Hey Y'All, In the spirit of crossing TT and dotting II, how's the complete tooling fare with the Y2K38 issue? I got reminded by this video: https://www.youtube.com/watch?v=-oqAb2secrU Sure, it's 12 years away, but I'm just curious... Cheers, Gus ---------------------------------------------------------------------- marcov · 2026-01-26 21:54 FPC doesn't use the Unix timestamp much. As a delphi compatible it uses TDateTime which is a float with the integer part a julian, and the rest the time. That alone limits the problem to Unix, and maybe the odd delphi datetime to database datetime coversion. Of course the Unix-likes RTL needs to interface to the system using unix dates. According to rtl/linux/ptypes.inc time_t is 64-bit on all 64-bit architectures, so that is generally ok, and since some distros have already stopped 32-bit releases. Most other unices seem to stick to clong as definition, which is 64-bit on 64-bit systems.  Dateutils has some unix conversion utility routines, but already uses int64 for unix datestamps, for all systems. (probably because it is not compiled for the most embedded of targets). Of course it probably needs to be tested to see if there are gotchas, but at first glance it seems it to have been mostly migrated, and unless you use 32-bit Unix likes, there won't be any systematic problem. ---------------------------------------------------------------------- Gustavo 'Gus' Carreno · 2026-01-27 01:10 Hey Marco, Thank you very much for the detailed report!! Much appreciated !! Cheers, Gus