smpp_date_to_long

March 26, 2020 Contributors

Name

smpp_date_to_long — Convert date string to time_t value

Synopsis

#include "modules/mobility/smpp/smpp_util.h"

| long int **smpp_date_to_long** ( | date_str); |   |

char * <var class="pdparam">date_str</var>;

Description

**Configuration Change. ** This feature is available starting from Momentum 3.2.

Convert a date string to time_t value.

Parameters

date_str

The input date string in the format: "YYMMDDHHMMSS"

Return Values

The date in time_t format.

Threading

It is legal to call this function in any thread.

See Also

SMPP Functions