Hi,

Thanks for replying to my question.
I am using scala

On Mon, Dec 5, 2016 at 1:20 PM, Marco Mistroni <mmistr...@gmail.com> wrote:

> Hi
>  In python you can use date time.fromtimestamp(......).
> strftime('%Y%m%d')........
> Which spark API are you using?
> Kr
>
> On 5 Dec 2016 7:38 am, "Devi P.V" <devip2...@gmail.com> wrote:
>
>> Hi all,
>>
>> I have a dataframe like following,
>>
>> +------------------------------------+---------------+
>> |client_id                           |timestamp|
>> +------------------------------------+---------------+
>> |cd646551-fceb-4166-acbc-b9|1477989416803  |
>> |3bc61951-0f49-43bf-9848-b2|1477983725292  |
>> |688acc61-753f-4a33-a034-bc|1479899459947  |
>> |5ff1eb6c-14ec-4716-9798-00|1479901374026  |
>> +------------------------------------+---------------+
>>
>>  I want to convert timestamp column into yyyy-MM-dd format.
>> How to do this?
>>
>>
>> Thanks
>>
>

Reply via email to