Write a simple PowerShell script to calculate the time
Budget: $10 – $15 USD
Hi,
I need a script to calculating the time of a Time Duration, like this website:
https://www.omnicalculator.com/everyday-life/time
I need only a simple script for calculating, not a website.
Expample 1:
Duration: 09 Days 09 Hours 09 Minutes 09 Seconds 900 Milliseconds
Division with 3
Result: 03 Days 03 Hours 03 Minutes 03 Seconds 300 Milliseconds
Expample 2:
Duration: 20 Hours 46 Minutes 05 Seconds
Division with 5
Result: 04 Hours 09 Minutes 13Seconds
I need the operators:
Division
Multiplication
Addition
Subtraction
And the Variables:
$Day
$Hour
$Minutes
$Second
$Millisecond
Regards
Ali
I need a script to calculating the time of a Time Duration, like this website:
https://www.omnicalculator.com/everyday-life/time
I need only a simple script for calculating, not a website.
Expample 1:
Duration: 09 Days 09 Hours 09 Minutes 09 Seconds 900 Milliseconds
Division with 3
Result: 03 Days 03 Hours 03 Minutes 03 Seconds 300 Milliseconds
Expample 2:
Duration: 20 Hours 46 Minutes 05 Seconds
Division with 5
Result: 04 Hours 09 Minutes 13Seconds
I need the operators:
Division
Multiplication
Addition
Subtraction
And the Variables:
$Day
$Hour
$Minutes
$Second
$Millisecond
Regards
Ali