Skip to main content

create_datetime

Function create_datetime 

Source
pub fn create_datetime<N: DomNavigator>(
    _context: &mut DynamicContext<'_, N>,
    args: Vec<XPathValue<N>>,
) -> Result<XPathValue<N>, XPathError>
Expand description

Implements fn:dateTime($date, $time) - combines a date and time into a dateTime.

Error FORG0008 is raised if both arguments have timezones and they differ.