@JourneymanGeek - If I said J2000 integer value would that make sense? So my bash script calculates the current Unix time, converts that to j2000 for the start time, and subtracts 24 hours for the stop time to submit a postresql query.
What I actually want is to calculate the Unix time between (yesterday) between 00:01 and 23:59.
geek@torrentbox31:~$ date --date='yesterday'
Thu 30 Mar 2023 01:36:00 PM +08
geek@torrentbox31:~$ date +%s --date='yesterday'
1680154591
geek@torrentbox31:~$ date +%s
1680240995
geek@torrentbox31:~$
Calculate?
So assuming your clock is on the timezone you want
However, what you have provide, might do the trick
I just need the unix time, if i have that, then I can calculate the j2000 time
after days of searching, I was able to find this gem: stackoverflow.com/questions/61857368/…, only after i learned you can specify a date and time and get a UNIX time (which I didn't know)