Trouble by trying to convert date

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Posts 2
Nicky Posted: 04-19-2012 4:52 AM


First I'm a beginner so please be lenient.


Well I'm trying to convert date in order to get the yesterday using the regionnal env of my computer ( I'm French )

So I'm able to do that :

get-date -UFormat %A

And getting correctly "Jeudi" ( Thursday )


I'm able to do that :


And I'm getting Wednesday but I need it in French.


So 'Im regarding to do this :

(get-date).adddays(-1).dayofweek -UFormat %A


But without sucess, any idea ?



Page 1 of 1 (2 items) | RSS
Copyright 2012 All rights reserved.