If the project start measure is set to 0 and a one-measure MIDI item is created at the top of the project, the tooltip should indicate 0.x.x beat information within this item, but currently it doesn't.
reaper.GetProjectTimeOffset() would help for the project start time, but I don't find the one for the project start measure.
I found these threads instead:
My specs:
Show midi note name in tooltip_nofish mod.lua v1.01
- REAPER v6.83 64-bit
- Windows 10 Home 64-bit