![]() |
![]()
| ![]() |
![]()
OpenXPKI::Template::Plugin::DateTimePlugin for Template::Toolkit to interact with OpenXPKI::DateTime How to useYou need to load the plugin into your template before using it. As we do not export the methods, you need to address them with the plugin name, e.g. [% USE DateTime %] [% DateTime.validity(timespec) %] validity (timespec, reference)Calculate the epoch timestamp from the given validity specification. Can be any value recognized by OpenXPKI::DateTime::get_validity. You can pass an epoch to use as reference, the default is now.
|