update
This commit is contained in:
@@ -42,6 +42,7 @@ function timedifference(starttime::DateTime, stoptime::DateTime, unit::String)::
|
||||
diff = stoptime - starttime
|
||||
unit = lowercase(unit)
|
||||
|
||||
# Check the unit and calculate the time difference accordingly
|
||||
if unit == "milliseconds"
|
||||
return diff.value
|
||||
elseif unit == "seconds"
|
||||
|
||||
Reference in New Issue
Block a user