I grepped from the start time and end time strings from the program log. How can I find the time difference in hour?
t1="Tue Feb 21 12:15:00 HKT 2023"
t2="Tue Feb 21 12:45:01 HKT 2023"
I looked at other questions. But they have either different formats or directly from date like date -d 'now + 3 weeks'