ali::12 Posted June 28, 2011 Share Posted June 28, 2011 Arkadaşlar bir calendar ekleyip bugünü ve de seçtiğim günü inputlara aktarıyorum fakat bu iki tarih arasını nasıl hesaplayabilirim şafak sayma programı yapmayı düşünüyorumda malum askerdeyiz Quote Link to comment Share on other sites More sharing options...
KintaRo Posted June 28, 2011 Share Posted June 28, 2011 hangi plugini kullanıyosun? Quote Link to comment Share on other sites More sharing options...
ali::12 Posted June 29, 2011 Author Share Posted June 29, 2011 APZ Dosyası burda Kintaro [codebox]http://www.dosya.tc/server2/UYsAmx/_afakprogram_.rar.html[/codebox] Quote Link to comment Share on other sites More sharing options...
ali::12 Posted July 4, 2011 Author Share Posted July 4, 2011 Şu işe çözüm bulabilen üstad çıkmadımı şafak hesaplayalım az Quote Link to comment Share on other sites More sharing options...
blackman12 Posted July 4, 2011 Share Posted July 4, 2011 http://www.myupload.dk/showfile/9445720e35e.autoplay/ Biz autoitte _DateDiff fonksiyonuyla hesaplıyoruz bu da onun basit hali ama geliştirilmesi gerek 31 çeken 28 çeken aylara göre Quote Link to comment Share on other sites More sharing options...
radyofon Posted July 4, 2011 Share Posted July 4, 2011 (edited) Bugün kü tarihi hesaplamak ve number' a dönüştürmek için; [code] time_lim = System.GetDate(DATE_FMT_EUROPE); time_limit = String.ToNumber (time_limi); [/code] komutlarını kullanabilirsin. Edited July 4, 2011 by radyofon Quote Link to comment Share on other sites More sharing options...
radyofon Posted July 4, 2011 Share Posted July 4, 2011 Kodlar şu şekilde fakat burada 450 gün askerliğe göre bir hesap yaptırdım. Sen artık o kısmını ayarlarsın. [code] time_limit = 450; --Askerliğin toplam süresi time_lim = System.GetDate(DATE_FMT_EUROPE); time_str = String.ToNumber(time_lim); days_left = (time_limit) - (time_str); -- kontrol if String.ToNumber(days_left) < 1 then Dialog.Message("Şafak Sayımı", "Askerlik Bitmiş. Hayırlı Teskereler"); Application.Exit(); else Dialog.Message("Şafak Sayımı", "Askerliğin bitmesine "..days_left.." gün var."); end [/code] Quote Link to comment Share on other sites More sharing options...
blackman12 Posted July 4, 2011 Share Posted July 4, 2011 Bariz denememişsin zaten kodda mantık yok ki string to number fonksiyonu da 0 dönüyo. Haliyle sonuç hep 450 kalıyo Quote Link to comment Share on other sites More sharing options...
neccooy Posted July 4, 2011 Share Posted July 4, 2011 Askerlik gün olarak değil ay olarak hesaplanır, 15 aydır. 460 gün denir ama ayların kaç çektiğine bağlı olarak bu rakam değişir. Bununla beraber izin süreleri, yol süreleri, giriş tarihleri, cezaları vs.. şafak için önemlidir. Askerde yazıcıydım da Çok terhis belgesi düzenledim. Quote Link to comment Share on other sites More sharing options...
ali::12 Posted July 5, 2011 Author Share Posted July 5, 2011 Bende muhabereciyim lazım oluyor arada bir hem program şeklinde nasıl yapılır mantıgını ögrenmek istedim Quote Link to comment Share on other sites More sharing options...
yasak_ask Posted July 5, 2011 Share Posted July 5, 2011 [quote name='ali::12' date='05 July 2011 - 11:50 ' timestamp='1309866640' post='1041027'] Bende muhabereciyim lazım oluyor arada bir hem program şeklinde nasıl yapılır mantıgını ögrenmek istedim [/quote] Şafak sayma programı versek http://www.odesayazilim.com/Download/askersafak.exe Quote Link to comment Share on other sites More sharing options...
radyofon Posted July 5, 2011 Share Posted July 5, 2011 [quote name='blackman12' date='04 July 2011 - 23:48 ' timestamp='1309812514' post='1040753'] Bariz denememişsin zaten kodda mantık yok ki string to number fonksiyonu da 0 dönüyo. Haliyle sonuç hep 450 kalıyo [/quote] Üstadım keşke doğrusunu yazsaydın da biz de öğrenseydik. Galiba hata takvim hesabının europa olmasından kaynaklanıyor. Onu JULIAN' a dönüştürmek gerek herhalde. Tekrar gözden geçireyim. Quote Link to comment Share on other sites More sharing options...
ali::12 Posted July 5, 2011 Author Share Posted July 5, 2011 İş görür aslında mantıgını ögrenmek istemiştim ama neyse şafak 130 Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 5, 2011 Share Posted July 5, 2011 [kh]SENİNDE ŞAFAK CART CURT DEMİŞ DAHA NE ARIYORSUN [/kh] Quote Link to comment Share on other sites More sharing options...
blackman12 Posted July 5, 2011 Share Posted July 5, 2011 peehh geri kalanı elle bile sayarsın radyofon; yukarıda apz verdim zaten ? Quote Link to comment Share on other sites More sharing options...
ali::12 Posted July 7, 2011 Author Share Posted July 7, 2011 [quote name='KintaRo' date='05 July 2011 - 20:08 ' timestamp='1309896521' post='1041272'] [kh]SENİNDE ŞAFAK CART CURT DEMİŞ DAHA NE ARIYORSUN [/kh] [/quote] Az kaldı valla bitsede gitsek artık çok sıkıcı Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted August 22, 2011 Share Posted August 22, 2011 [quote name='blackman12' date='05 July 2011 - 23:15 ' timestamp='1309896922' post='1041276'] peehh geri kalanı elle bile sayarsın radyofon; yukarıda apz verdim zaten ? [/quote] [center][b]Keşke dediğin gibi verdiğin şey apz olsaydı [/b][/center] Quote Link to comment Share on other sites More sharing options...
MostWanted Posted August 22, 2011 Share Posted August 22, 2011 Zaten projede çok dosya olmadığından apz dosyasına pek gerek kalmadı açıkçası.Gerçi sesleri bulamadığından hata veriyor ama olsun... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.