hyTags
HomeHome DocumentationDocumentation

time-now

Returns the current time.
Parameter
Type
Description
return
time
The current time
Test Case:Now returns time with valid hour
    <div></div>
    
    <time-now>
    <time-get component="hour">
    <number-is-greater other="-1">
    <assert-true>
    
    👆 Try to change something!
  • Test Case:Now returns time with valid minute
      <div></div>
      
      <time-now>
      <time-get component="minute">
      <number-is-greater other="-1">
      <assert-true>
      
      👆 Try to change something!
    • Test succeeded Test failed