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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
CHANGE DATE FORMAT
==================
Description
-----------
This algorithm converts the date format of the input layer and creates a table in output. Be careful at the separation characters between the fields, for example:
- dd.mm.yy means 16.08.07
- yymmdd means 090528
Parameters
----------
- ``Table[Table]``: table or layer attribute table in input
- ``Date Field[TableField]``: field of the table containing the date
- ``Input Format[Selection]``: date format in input (see above for some example)
- ``Output Format[Selection]``: date format in output (see above for some example)
Outputs
-------
- ``Output[Table]``: the resulting table
See also
---------
Console usage
-------------
::
processing.runalg('saga:changedateformat', table, field, fmt_in, fmt_out, output)
Available options for selection parameters:
fmt_in(Input Format)
0 - [0] dd.mm.yy
1 - [1] yy.mm.dd
2 - [2] dd:mm:yy
3 - [3] yy:mm:dd
4 - [4] ddmmyyyy, fix size
5 - [5] yyyymmdd, fix size
6 - [6] ddmmyy, fix size
7 - [7] yymmdd, fix size
8 - [8] Julian Day
fmt_out(Output Format)
0 - [0] dd.mm.yy
1 - [1] yy.mm.dd
2 - [2] dd:mm:yy
3 - [3] yy:mm:dd
4 - [4] ddmmyyyy, fix size
5 - [5] yyyymmdd, fix size
6 - [6] ddmmyy, fix size
7 - [7] yymmdd, fix size
8 - [8] Julian Day
|