Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
xoceunder
Level 10

two Timestamp for progress %

Jump to solution

I have 2 dates in Timestamp and I want to be able to get the percentage to be able to make the bar work

 

time 1 =  1602064800

time 2 = 1602065200

 

could you give me a help

0 Kudos
1 Solution

Accepted Solutions
norcaljohnny
Level 11

Re: two Timestamp for progress %

Jump to solution

percentage = (100/time 2) * time 1

but I have a feeling you are wording the question wrong..

View solution in original post

1 Reply
norcaljohnny
Level 11

Re: two Timestamp for progress %

Jump to solution

percentage = (100/time 2) * time 1

but I have a feeling you are wording the question wrong..

View solution in original post