{"id":29072,"date":"2025-09-07T09:15:20","date_gmt":"2025-09-07T06:15:20","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/"},"modified":"2025-09-07T09:15:20","modified_gmt":"2025-09-07T06:15:20","slug":"powershellde-tarih-farki-hesaplama-orneklerle","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/","title":{"rendered":"PowerShell&#8217;de Tarih Fark\u0131 Hesaplama (\u00d6rneklerle)"},"content":{"rendered":"<p># PowerShell&#8217;de Tarih Fark\u0131 Hesaplama: Tam Bir K\u0131lavuz<\/p>\n<p>PowerShell ile tarih fark\u0131 hesaplamak, g\u00fcnl\u00fck i\u015flerinizi otomatikle\u015ftirmek veya raporlama s\u00fcre\u00e7lerinizi iyile\u015ftirmek i\u00e7in olduk\u00e7a kullan\u0131\u015fl\u0131 bir yetenektir.  \u00d6rne\u011fin, bir dosyan\u0131n ne kadar s\u00fcre \u00f6nce olu\u015fturuldu\u011funu belirlemek, iki tarih aras\u0131ndaki g\u00fcn say\u0131s\u0131n\u0131 hesaplamak veya bir projenin biti\u015f tarihini tahmin etmek gibi bir\u00e7ok durumda bu beceriye ihtiya\u00e7 duyabilirsiniz. Bu kapsaml\u0131 k\u0131lavuzda, PowerShell&#8217;de tarih fark\u0131n\u0131 hesaplaman\u0131n temelinden ileri d\u00fczey tekniklerine kadar ad\u0131m ad\u0131m ilerleyece\u011fiz.  Farkl\u0131 senaryolar i\u00e7in pratik \u00e7\u00f6z\u00fcmler sunacak, performans optimizasyonu ipu\u00e7lar\u0131 payla\u015facak ve olas\u0131 sorunlar\u0131 ele alaca\u011f\u0131z.<\/p>\n<p><strong>\u00d6\u011frenme Yol Haritas\u0131:<\/strong><\/p>\n<p>* <strong>Yeni Ba\u015flayan:<\/strong> Temel tarih i\u015flemleri, basit kod \u00f6rnekleri.<br \/>\n* <strong>Orta Seviye:<\/strong> Ger\u00e7ek hayat senaryolar\u0131, optimizasyon teknikleri.<br \/>\n* <strong>\u0130leri Seviye:<\/strong> Performans analizi, \u00f6zel durumlar (edge cases) ve geli\u015fmi\u015f teknikler.<\/p>\n<p><strong>Tarih ve Zaman \u0130\u015flemlerine Giri\u015f: Temel Kavramlar<\/strong><\/p>\n<p>PowerShell, tarih ve zaman verilerini <code class=\"language-\">DateTime<\/code> nesnesi ile temsil eder.  Bu nesne, tarih ve saat bilgisini saklar ve \u00fczerinde \u00e7e\u015fitli i\u015flemler yapman\u0131za olanak tan\u0131r.  \u00d6rne\u011fin, <code class=\"language-\">Get-Date<\/code> cmdlet&#8217;i, ge\u00e7erli tarih ve zaman\u0131 <code class=\"language-\">DateTime<\/code> nesnesi olarak d\u00f6nd\u00fcr\u00fcr.  <code class=\"language-\">[datetime]<\/code> t\u00fcr d\u00f6n\u00fc\u015ft\u00fcrme operat\u00f6r\u00fc ile de metinsel verileri <code class=\"language-\">DateTime<\/code> nesnesine d\u00f6n\u00fc\u015ft\u00fcrebilirsiniz.<\/p>\n<p>\u00d6rne\u011fin, &#8220;2024-10-27&#8221; tarihini <code class=\"language-\">DateTime<\/code> nesnesine d\u00f6n\u00fc\u015ft\u00fcrmek i\u00e7in \u015fu kodu kullanabilirsiniz:<\/p>\n<pre class=\"language-powershell\"><code>$Tarih = [datetime]&quot;2024-10-27&quot;\nWrite-Host $Tarih.GetType() # System.DateTime t\u00fcr\u00fcn\u00fc do\u011frulayacakt\u0131r.<\/code><\/pre>\n<p><code class=\"language-\">DateTime<\/code> nesnesi \u00fczerinde bir\u00e7ok \u00f6zellik bulunmaktad\u0131r.  <code class=\"language-\">Year<\/code>, <code class=\"language-\">Month<\/code>, <code class=\"language-\">Day<\/code>, <code class=\"language-\">Hour<\/code>, <code class=\"language-\">Minute<\/code>, <code class=\"language-\">Second<\/code> gibi \u00f6zellikler, tarihin ve zaman\u0131n bile\u015fenlerine eri\u015fmenizi sa\u011flar.<\/p>\n<p><strong>PowerShell&#8217;de Tarih Fark\u0131 Hesaplama: Ad\u0131m Ad\u0131m Uygulamal\u0131 K\u0131lavuz<\/strong><\/p>\n<p>\u0130ki tarih aras\u0131ndaki fark\u0131 hesaplaman\u0131n en basit yolu, iki <code class=\"language-\">DateTime<\/code> nesnesini birbirinden \u00e7\u0131karmakt\u0131r.  Sonu\u00e7, <code class=\"language-\">TimeSpan<\/code> nesnesi olarak d\u00f6nd\u00fcr\u00fcl\u00fcr. <code class=\"language-\">TimeSpan<\/code> nesnesi, iki tarih aras\u0131ndaki s\u00fcreyi g\u00fcn, saat, dakika ve saniye cinsinden temsil eder.<\/p>\n<p><strong>\u00d6rnek 1: Basit Tarih Fark\u0131 Hesaplama<\/strong><\/p>\n<p>\u0130ki tarih aras\u0131ndaki g\u00fcn say\u0131s\u0131n\u0131 bulmak i\u00e7in:<\/p>\n<pre class=\"language-powershell\"><code>$Tarih1 = Get-Date &quot;2024-10-26&quot;\n$Tarih2 = Get-Date &quot;2024-11-15&quot;\n$Fark = New-TimeSpan -Start $Tarih1 -End $Tarih2\nWrite-Host &quot;\u0130ki tarih aras\u0131nda $([Math]::Round($Fark.TotalDays)) g\u00fcn var.&quot;<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">TotalDays<\/code> \u00f6zelli\u011fi ile toplam g\u00fcn say\u0131s\u0131n\u0131 hesaplar ve <code class=\"language-\">[Math]::Round()<\/code> fonksiyonu ile yuvarlama yapar.<\/p>\n<p><strong>Ger\u00e7ek Hayat Senaryolar\u0131: Vaka Analizleri<\/strong><\/p>\n<p><strong>Vaka 1: Dosya Ya\u015f\u0131 Kontrol\u00fc<\/strong><\/p>\n<p>Bir dizindeki t\u00fcm dosyalar\u0131n ya\u015f\u0131n\u0131 kontrol etmek ve belirli bir ya\u015ftan b\u00fcy\u00fck dosyalar\u0131 silmek istedi\u011finizi varsayal\u0131m.<\/p>\n<pre class=\"language-powershell\"><code>$Dizin = &quot;C:\\\u00d6rnekDizin&quot;\n$MaxYas = 30 # G\u00fcn cinsinden\nGet-ChildItem -Path $Dizin -File | ForEach-Object {\n  $Fark = New-TimeSpan -Start $_.LastWriteTime -End (Get-Date)\n  if ($Fark.Days -gt $MaxYas) {\n    Write-Host &quot;$_ siliniyor...&quot;\n    Remove-Item $_.FullName\n  }\n}<\/code><\/pre>\n<p><strong>Vaka 2: Proje Biti\u015f Tarihi Hesaplama<\/strong><\/p>\n<p>Bir projenin ba\u015flang\u0131\u00e7 tarihini ve s\u00fcresini bilerek biti\u015f tarihini hesaplayal\u0131m:<\/p>\n<pre class=\"language-powershell\"><code>$BaslangicTarihi = Get-Date &quot;2024-11-01&quot;\n$Sure = 30 # G\u00fcn cinsinden\n$BitisTarihi = $BaslangicTarihi.AddDays($Sure)\nWrite-Host &quot;Projenin biti\u015f tarihi: $BitisTarihi&quot;<\/code><\/pre>\n<p>Bu \u00f6rnekler, PowerShell&#8217;in tarih fark\u0131 hesaplama yetene\u011finin ger\u00e7ek d\u00fcnya uygulamalar\u0131n\u0131 g\u00f6stermektedir.  <code class=\"language-\">fatihsoysal.com<\/code> adresinden daha fazla PowerShell \u00f6rne\u011fi ve ipu\u00e7lar\u0131 bulabilirsiniz. (Bu k\u0131s\u0131m, siteye do\u011fal bir ba\u011flant\u0131 eklemek i\u00e7in tasarlanm\u0131\u015ft\u0131r.)<\/p>\n<p><strong>Performans Optimizasyonu ve \u0130leri D\u00fczey Teknikler<\/strong><\/p>\n<p>B\u00fcy\u00fck miktarda tarih verisi ile \u00e7al\u0131\u015f\u0131rken performans \u00f6nemli bir fakt\u00f6rd\u00fcr.  <code class=\"language-\">ForEach-Object<\/code> yerine <code class=\"language-\">Parallel.ForEach<\/code> kullanarak i\u015flemleri paralel \u00e7al\u0131\u015ft\u0131rmak performans\u0131 art\u0131rabilir. Ayr\u0131ca, gereksiz hesaplamalar\u0131 \u00f6nlemek i\u00e7in \u00f6nbellekleme teknikleri kullanabilirsiniz.<\/p>\n<p><strong>\u00d6rnek: Parallel.ForEach ile Performans Art\u0131\u015f\u0131<\/strong><\/p>\n<pre class=\"language-powershell\"><code>$Tarihler = 1..10000 | ForEach-Object { Get-Date &quot;2024-01-01&quot;.AddDays($_) }\n$Bugun = Get-Date\n\n[System.Collections.Concurrent.ConcurrentBag[TimeSpan]]$Farklar = New-Object System.Collections.Concurrent.ConcurrentBag[TimeSpan]\n[System.Threading.Tasks.Parallel]::ForEach($Tarih in $Tarihler) {\n    $Farklar.Add(New-TimeSpan -Start $Tarih -End $Bugun)\n}\n\nWrite-Host &quot;Toplam i\u015flem say\u0131s\u0131: $($Farklar.Count)&quot;<\/code><\/pre>\n<p>Bu \u00f6rnek, b\u00fcy\u00fck bir tarih dizisi \u00fczerinde paralel i\u015flem yaparak performans art\u0131\u015f\u0131 sa\u011flar.<\/p>\n<p><strong>\u00d6zel Durumlar (Edge Cases) ve Hata Y\u00f6netimi<\/strong><\/p>\n<p>Tarih fark\u0131 hesaplamas\u0131nda baz\u0131 \u00f6zel durumlar ortaya \u00e7\u0131kabilir. \u00d6rne\u011fin, zaman dilimlerinin farkl\u0131 olmas\u0131, ge\u00e7ersiz tarih formatlar\u0131 veya s\u0131f\u0131r uzunlu\u011funda <code class=\"language-\">TimeSpan<\/code> nesneleri gibi durumlarda hata y\u00f6netimi \u00f6nemlidir.  <code class=\"language-\">try-catch<\/code> bloklar\u0131 kullanarak bu t\u00fcr hatalar\u0131 yakalayabilir ve uygun \u015fekilde i\u015fleyebilirsiniz.<\/p>\n<p><strong>Sonu\u00e7<\/strong><\/p>\n<p>PowerShell&#8217;de tarih fark\u0131 hesaplama, basit i\u015flemlerden karma\u015f\u0131k senaryolara kadar geni\u015f bir yelpazede kullan\u0131labilir. Bu k\u0131lavuzda, temel i\u015flemlerden performans optimizasyonuna ve \u00f6zel durumlar\u0131n y\u00f6netimine kadar \u00e7e\u015fitli konular\u0131 ele ald\u0131k.  Uygulamal\u0131 \u00f6rnekler ve ger\u00e7ek d\u00fcnya senaryolar\u0131 ile PowerShell&#8217;in g\u00fcc\u00fcn\u00fc tarih ve zaman i\u015flemlerinde nas\u0131l kullanabilece\u011finizi g\u00f6sterdik.<\/p>\n<p><strong>S\u0131k\u00e7a Sorulan Sorular:<\/strong><\/p>\n<p>1. <strong>PowerShell&#8217;de farkl\u0131 zaman dilimlerini nas\u0131l y\u00f6netirim?<\/strong>  <code class=\"language-\">Get-Date<\/code> cmdlet&#8217;i ile zaman dilimi belirterek i\u015flemler yapabilirsiniz.  \u00d6rne\u011fin: <code class=\"language-\">Get-Date -Date \"2024-10-27 10:00:00\" -UFormat \"%Y-%m-%d %H:%M:%S\" -TimeZone \"Pacific Standard Time\"<\/code>.<br \/>\n2. <strong>Tarih formatlar\u0131n\u0131 nas\u0131l de\u011fi\u015ftiririm?<\/strong> <code class=\"language-\">Get-Date<\/code> cmdlet&#8217;inin <code class=\"language-\">-Format<\/code> parametresi veya <code class=\"language-\">.ToString()<\/code> metodu ile tarih format\u0131n\u0131 de\u011fi\u015ftirebilirsiniz.<br \/>\n3. <strong><code class=\"language-\">TimeSpan<\/code> nesnesinin t\u00fcm \u00f6zelliklerini nas\u0131l kullan\u0131r\u0131m?<\/strong>  <code class=\"language-\">TimeSpan<\/code> nesnesinin <code class=\"language-\">Days<\/code>, <code class=\"language-\">Hours<\/code>, <code class=\"language-\">Minutes<\/code>, <code class=\"language-\">Seconds<\/code>, <code class=\"language-\">TotalDays<\/code>, <code class=\"language-\">TotalHours<\/code> vb. bir\u00e7ok \u00f6zelli\u011fi vard\u0131r ve bunlar\u0131 ihtiya\u00e7lar\u0131n\u0131za g\u00f6re kullanabilirsiniz.<br \/>\n4. <strong>\u00c7ok b\u00fcy\u00fck tarih aral\u0131klar\u0131 i\u00e7in performans\u0131 nas\u0131l iyile\u015ftirebilirim?<\/strong>  Veri tabanlar\u0131 veya \u00f6zel algoritmalar kullanarak performans\u0131 art\u0131rabilirsiniz.<br \/>\n5. <strong>Hatal\u0131 tarih verileri ile nas\u0131l ba\u015fa \u00e7\u0131kar\u0131m?<\/strong> <code class=\"language-\">try-catch<\/code> bloklar\u0131 ve do\u011frulama i\u015flemleri kullanarak hatal\u0131 verileri yakalay\u0131p i\u015fleyebilirsiniz.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# PowerShell&#8217;de Tarih Fark\u0131 Hesaplama: Tam Bir K\u0131lavuz PowerShell ile tarih fark\u0131 hesaplamak, g\u00fcnl\u00fck i\u015flerinizi otomatikle\u015ftirmek veya raporlama&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1319],"tags":[],"class_list":{"0":"post-29072","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-powershell","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PowerShell&#039;de Tarih Fark\u0131 Hesaplama (\u00d6rneklerle)<\/title>\n<meta name=\"description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell&#039;de Tarih Fark\u0131 Hesaplama (\u00d6rneklerle)\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-07T06:15:20+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"PowerShell&#8217;de Tarih Fark\u0131 Hesaplama (\u00d6rneklerle)\",\"datePublished\":\"2025-09-07T06:15:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/\"},\"wordCount\":739,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"PowerShell\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/\",\"name\":\"PowerShell'de Tarih Fark\u0131 Hesaplama (\u00d6rneklerle)\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-09-07T06:15:20+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell&#8217;de Tarih Fark\u0131 Hesaplama (\u00d6rneklerle)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PowerShell'de Tarih Fark\u0131 Hesaplama (\u00d6rneklerle)","description":"Hi\u00e7bir etiketi bulunamad\u0131.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/","og_locale":"tr_TR","og_type":"article","og_title":"PowerShell'de Tarih Fark\u0131 Hesaplama (\u00d6rneklerle)","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-09-07T06:15:20+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"5 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"PowerShell&#8217;de Tarih Fark\u0131 Hesaplama (\u00d6rneklerle)","datePublished":"2025-09-07T06:15:20+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/"},"wordCount":739,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["PowerShell"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/","url":"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/","name":"PowerShell'de Tarih Fark\u0131 Hesaplama (\u00d6rneklerle)","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-09-07T06:15:20+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/powershellde-tarih-farki-hesaplama-orneklerle\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PowerShell&#8217;de Tarih Fark\u0131 Hesaplama (\u00d6rneklerle)"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/29072","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=29072"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/29072\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=29072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=29072"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=29072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}