summaryrefslogtreecommitdiff
path: root/pages/develop/api/efl/net/dialer/http/method/date_parse.txt
blob: 9a3e57cd2f36be7800ba8859171c39662d346ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
~~Title: Efl.Net.Dialer.Http.date_parse~~
===== Description =====

%%Parses the given string as time in seconds since 1/1/1970.%%

%%This method is useful to parse header values such as "Last-Modified".%%

//Since 1.19//
{{page>:develop:api-include:efl:net:dialer:http:method:date_parse:description&nouser&nolink&nodate}}

===== Signature =====

<code>
date_parse @class {
    params {
        @in str: free(string, free);
    }
    return: int64;
}
</code>

===== C signature =====

<code c>
int64_t efl_net_dialer_http_date_parse(Efl_Class *klass, const char *str);
</code>

===== Parameters =====

  * **str** //(in)// - %%String in HTTP text format: Tue, 15 Nov 1994 12:45:26 GMT%%

===== Implemented by =====

  * **Efl.Net.Dialer.Http.date_parse**