Hey,
Is it possible to get the weekday? You know, like 'CurrentDate$()', but just the name of the day?
Is it possible to get the weekday? You know, like 'CurrentDate$()', but just the name of the day?
day$ = String(" ", 150) GetDate(0, 0, 0, "d dd ddd dddd M MM MMM MMMM y yy yyyy gg", day, Len(day)) Notify day
;.lib "Kernel32.dll" ;GetDateAny%(locale%, dwFlags%, lpDate*, lpFormat$, lpDateStr$, size%):"GetDateFormatA" day$ = String(" ", 15) time = CreateBank(16) PokeShort(time, 0, 2004) ; Year PokeShort(time, 2, 4) ; Month PokeShort(time, 6, 17) ; Day GetDateAny(0, 0, time, "dddd", day, Len(day)) Notify day
;.lib "Kernel32.dll" GetDateFormat%(Locale%,dwFlags%,lpDate*,lpFormat$,lpDateStr$,cchDate%):"GetDateFormatA" GetDateFormat_NULL%(Locale%,dwFlags%,lpDate%,lpFormat$,lpDateStr$,cchDate%):"GetDateFormatA"