You can create a custom function [1] where using static methods
QDate.fromString(...) and QTime.fromString(...) and return a QDateTime
in ISO format ar in the format you need

regards, Luigi Pirelli

[1] 
https://woostuff.wordpress.com/2012/11/10/user-defined-expression-functions-for-qgis/

On 20 February 2015 at 07:19, Werner Macho <[email protected]> wrote:
> Hi!
> I would start by creating a new column and using the field calculator
> to concatenate these two other attributes ..
> Currently I am not able to try - but that would be at least a starting point 
> ..
>
> regards
> Werner
>
> On Fri, Feb 20, 2015 at 4:17 AM, Leo Kris Palao <[email protected]> wrote:
>> Hi ALL,
>>
>> I have two columns, namely "Date" and "Time" in QString format. How can I
>> convert these columns to Date Time (yyyy-mm-dd hh:mm:ss) format.
>>
>> Thanks,
>> -Leo
>>
>> _______________________________________________
>> Qgis-user mailing list
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to