mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update 09_Casting.md
Changed SS_DateTime to DBDatetime as SS_DateTime was changed to DBDateTime in version 4.0
This commit is contained in:
parent
714c4cba9c
commit
d7885adf34
@ -20,7 +20,7 @@ $Content.FirstParagraph
|
||||
<!-- returns the result of HtmlText::FirstParagragh() -->
|
||||
|
||||
$LastEdited.Format("d/m/Y")
|
||||
<!-- returns the result of SS_Datetime::Format("d/m/Y") -->
|
||||
<!-- returns the result of DBDatetime::Format("d/m/Y") -->
|
||||
```
|
||||
|
||||
Any public method from the object in scope can be called within the template. If that method returns another
|
||||
|
Loading…
Reference in New Issue
Block a user