ePages 6.10 - DE_EPAGES/DHL/API/Tools.pm

Package DE_EPAGES::DHL::API::Tools

This is a tool library used for common non-database tasks

@EXPORT_OK
ConvertFromDHLDate
ConvertStringToDateTime
GetMinShippingLengthFromDB
GetMaxShippingLengthFromDB
GetMinShippingWidthFromDB
GetMaxShippingWidthFromDB
GetMinShippingHeightFromDB
GetMaxShippingHeightFromDB
GetMinShippingWeightFromDB
GetMaxShippingWeightFromDB
GetDHLProductFromDB
DeleteDHLProductListFromDB
DHLShippingLabelIsDHLDeliveryDestInDB
OrderIsDHLDeliveryDestInDB
GetDHLProductMaxDimensionsFromDB
IsInteger

Functions

ConvertFromDHLDate

ConvertFromDHLDate

Parses an DHL DateTime string and returns a DateTime object. Converts the time to the local server time zone.

Syntax
ConvertFromDHLDate( $DateString );
Input
$DateString (string)
datetime string in ISO8601
Return
$dt (DateTime object)
converted date