![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Guest | Date Is ther a bug in date notation when i use Danish characterset(850)?? PS C:\Documents and Settings\TDP212> get-childitem | Where-Object {$_.LastWriteTime -gt "02-10-2007"} Directory: Microsoft.PowerShell.Core\FileSystem::C:\Documents and Settings\TDP212 Mode LastWriteTime Length Name ---- ------------- ------ ---- d---- 26-07-2007 12:13 .idlerc d-r-- 12-11-2007 14:50 Dokumenter d-r-- 29-10-2007 12:09 Foretrukne d---- 17-07-2007 13:04 Local Settings d---- 10-12-2007 13:39 Skrivebord -a--- 31-08-2007 09:49 41 back.txt -a--- 26-10-2007 12:05 172 default.pls -a--- 26-06-2007 14:26 2810 ipconfig.txt -a--- 05-11-2007 08:44 4360 ip_probelm.txt -a--- 05-11-2007 08:46 5186 ip_problem.txt -a--- 10-12-2007 12:54 1000 mytestfile.txt -a--- 02-10-2007 11:06 150 powerconsole.psc1 -a--- 10-12-2007 10:23 5931 sample.txt -a--- 26-06-2007 14:29 5170 tshot.txt -a--- 26-06-2007 14:29 4002 tshot.xtx PS C:\Documents and Settings\TDP212> get-childitem | Where-Object {$_.LastWriteTime -gt "10-02-2007"} Directory: Microsoft.PowerShell.Core\FileSystem::C:\Documents and Settings\TDP212 Mode LastWriteTime Length Name ---- ------------- ------ ---- d-r-- 12-11-2007 14:50 Dokumenter d-r-- 29-10-2007 12:09 Foretrukne d---- 10-12-2007 13:39 Skrivebord -a--- 26-10-2007 12:05 172 default.pls -a--- 05-11-2007 08:44 4360 ip_probelm.txt -a--- 05-11-2007 08:46 5186 ip_problem.txt -a--- 10-12-2007 12:54 1000 mytestfile.txt -a--- 02-10-2007 11:06 150 powerconsole.psc1 -a--- 10-12-2007 10:23 5931 sample.txt In Danish the date is dd-mm-yy !! |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: Date Check how Dates are displayed on your Regional Settings (control panel) on the Date tab. PowerShell will format the LastWriteTime date according to the settings specified at Regional Settings unless you configured alternate XML format file. ----- Shay Levi $cript Fanatic http://scriptolog.blogspot.com Hebrew weblog: http://blogs.microsoft.co.il/blogs/scriptfanatic Quote: > Is ther a bug in date notation when i use Danish characterset(850)?? > > PS C:\Documents and Settings\TDP212> get-childitem | Where-Object > {$_.LastWriteTime -gt "02-10-2007"} > > Directory: Microsoft.PowerShell.Core\FileSystem::C:\Documents and > Settings\TDP212 > > Mode LastWriteTime Length Name > ---- ------------- ------ ---- > d---- 26-07-2007 12:13 .idlerc > d-r-- 12-11-2007 14:50 Dokumenter > d-r-- 29-10-2007 12:09 Foretrukne > d---- 17-07-2007 13:04 Local Settings > d---- 10-12-2007 13:39 Skrivebord > -a--- 31-08-2007 09:49 41 back.txt > -a--- 26-10-2007 12:05 172 default.pls > -a--- 26-06-2007 14:26 2810 ipconfig.txt > -a--- 05-11-2007 08:44 4360 ip_probelm.txt > -a--- 05-11-2007 08:46 5186 ip_problem.txt > -a--- 10-12-2007 12:54 1000 mytestfile.txt > -a--- 02-10-2007 11:06 150 powerconsole.psc1 > -a--- 10-12-2007 10:23 5931 sample.txt > -a--- 26-06-2007 14:29 5170 tshot.txt > -a--- 26-06-2007 14:29 4002 tshot.xtx > PS C:\Documents and Settings\TDP212> get-childitem | Where-Object > {$_.LastWriteTime -gt "10-02-2007"} > > Directory: Microsoft.PowerShell.Core\FileSystem::C:\Documents and > Settings\TDP212 > > Mode LastWriteTime Length Name > ---- ------------- ------ ---- > d-r-- 12-11-2007 14:50 Dokumenter > d-r-- 29-10-2007 12:09 Foretrukne > d---- 10-12-2007 13:39 Skrivebord > -a--- 26-10-2007 12:05 172 default.pls > -a--- 05-11-2007 08:44 4360 ip_probelm.txt > -a--- 05-11-2007 08:46 5186 ip_problem.txt > -a--- 10-12-2007 12:54 1000 mytestfile.txt > -a--- 02-10-2007 11:06 150 powerconsole.psc1 > -a--- 10-12-2007 10:23 5931 sample.txt > In Danish the date is dd-mm-yy !! > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Date | VB Script | |||
| Date Taken and Date Modified | Vista music pictures video | |||
| Modified Date used as Date Taken in Photo Gallery and Digital Imag | Vista music pictures video | |||
| Photo date taken vs. file date | Vista music pictures video | |||
| Blank "Date Taken / Date Modified" field in Vista | Vista file management | |||