We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i install the module and displayed it in home page but i need to display just the day and month for the coming event
thnx in advanced
The text was updated successfully, but these errors were encountered:
You can use .Format() for this.
.Format()
https://github.com/silverstripe/silverstripe-framework/blob/3/model/fieldtypes/Date.php#L144
Sorry, something went wrong.
i'll try it soon thnx
i tried the Format function after $daterange but it displayed nothing
`<% control UpcomingEvents %>
$DateRange
<% end_control %>`
<%
$DateRange is just a helper function. To use $Format, you'll need to use the properties directly.
$StartDate.Format(...) $EndDate.Format(...)
No branches or pull requests
i install the module and displayed it in home page but i need to display just the day and month for the coming event
thnx in advanced
The text was updated successfully, but these errors were encountered: