少し前にこんなnoteを書きました。 使って計算するしかないらしい。 ちなみに 計算式はこうなるらしい。。👇 ・時間を取り出すseconds//60//60 ・分を取り出す seconds//60%60 ・秒を取り出す seconds%60 // … は割った数の整数部分を取り出す % … は割った数のあまり ...
作業の工数管理を行うときにタイムスタンプからそれぞれの作業時間を算出して入力しているがその時に単位を30分毎にしたかったので調べてみたらpandasを使うと簡単に出来ることがわかった。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn how to work with date and time values using Python's datetime library, and how to avoid some of the gotchas and pitfalls of the datetime datatype. Python’s datetime library, part of its standard ...