Arsip: penambahan waktu ?

 
user image
more 16 years ago

jajang

gini ada edit1.text dan edit2.text ketika saya isikan di edit1.text "01/19/2008" ketika di tab edit2.text hasilnya secara otomatis ngisi dengan "01/19/2009" jadi bertambah 1 tahun gtu ? gmana yach ?
user image
more 16 years ago

mas_kofa


ShortDateFormat := 'MM/dd/yyyy';
dt := StrTodateDef(Edi1.Text, 0);
Edit2.Text := DateToStr(EncodeDate(YearOf(dt)+1, MonthOf(dt), DayOf(dt));
user image
more 16 years ago

mas_kofa


ShortDateFormat := 'MM/dd/yyyy';
ralat :

ShortDateFormat := 'dd/MM/yyyy';
user image
more 16 years ago

faathir

coba pake function : IncYear uses : dateutils
user image
more 16 years ago

LuriDarmawan

to @faathir, tolong width/height avatarnya di kecilin. ASAP thx
user image
more 15 years ago

faathir

oke bos
more ...
  • Pages:
  • 1
Share to

AI Forward

🚀 We're thrilled to partner with Alibaba Cloud for "AI Forward - Alibaba Cloud Global Developer Summit 2025" in Jakarta! Join us and explore the future of AI. Register now: https://int.alibabacloud.com/m/1000400772/
#AlibabaCloud #DeveloperSummit #Jakarta #AIFORWARD

Local Business Directory, Search Engine Submission & SEO Tools FreeWebSubmission.com SonicRun.com