Search Results for

    Show / Hide Table of Contents

    Method GetTimeSpanFromTime

    GetTimeSpanFromTime(TimeSpanContract)

    Get time span from time

    Declaration
    TimeSpanContract GetTimeSpanFromTime(TimeSpanContract timeSpan)
    Parameters
    Type Name Description
    TimeSpanContract timeSpan

    Time object. See also TimeSpanContract

    Returns
    Type Description
    TimeSpanContract

    Time span from time

    Examples

    POST http://YourServerName/InfoShare/Json/Server/GetTimeSpanFromTime

    Example for get time span from time.

    {
       "timeSpan": {
         "TimeInYears": "2019",
         "TimeInDays": "20",
         "TimeInMinutes": "40",
    }

    Response:

    {
       "GetTimeSpanFromTimeResult":{
         "Ticks":636711840000000000,
         "TimeInDays":736935,
         "TimeInMinutes":1061186400,
         "TimeInYears":2019 } 
    }
    Back to top Copyright © Kendox