コード例 #1
0
    // Calculate how much seconds there are between two timestamps
    public static float TimeBetween(TimeStamp start, TimeStamp end)
    {
        float startSeconds = start.GetTimeInSeconds();
        float endSeconds   = end.GetTimeInSeconds();

        return(endSeconds - startSeconds);
    }