Date · Question 5 of 12
Which values does f:format.date accept as a date?
1 answer is correct. Easy
Show answer
Answer
- D DateTime object or date string
Explanation
The ViewHelper accepts objects implementing DateTimeInterface and strings that PHP understands as a date, including timestamps and relative specifications such as "+1 week".