How to remove the the seconds from given time in shell script

前端 未结 0 1163
猫巷女王i
猫巷女王i 2020-12-16 02:47

Hi i am trying to remove the seconds in the given time format .

time format = 02:59:46 PM

export hello="02:59:46 PM"

i want it as 02:59 PM

tried          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题