XML technologies / SVG / Using animations / Ways to implement animations / Specifying time values

(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)

Animations often require time values for duration or starting time, for example. Several formats are available; the table lists the main ones.

Table: Defining time values for SVG animations.

Time values

Syntax

Example

Meaning

Full clock value

Stunden:Minuten:Sekunden

01:30:00

1 hour, 30 minutes, 0 seconds

Partial clock value

Minuten:Sekunden

1:30

1 minute, 30 seconds

Hours

Stunden.Minuten h

3.2h

3 hours, 12 minutes

Seconds

Zahl s

3s

3 seconds

Milliseconds

Zahl ms

30ms

30 milliseconds

   

 

 

 

back to top