News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Function to know how many days have passed this year

Started by clamicun, March 21, 2016, 05:56:58 AM

Previous topic - Next topic

nidud

#15
deleted

clamicun

Hi Nidud,

GetDays   ( 1900, 01, 01 ): 42448 ok.
GetDays   ( 2016, 01, 01 ): 80      ok.
GetDays   ( 2017, 01, 01 ): 286    my prog does not accept the values
GetDays   ( 2014, 04, 25 ): 696    ok.
GetDays   ( 2017, 12, 24 ): 643    my prog does not accept the values
GetWeekday( 2016, 03, 21 ): 1     my prog returns 0

clamicun

JJ,

"How do you deal with local time vs UTC?"

I don't deal - Mysql deals...

jj2007

Quote from: clamicun on March 22, 2016, 08:47:03 AM
GetDays   ( 1900, 01, 01 ): 42448 ok.
GetDays   ( 2016, 01, 01 ): 80      ok.
GetDays   ( 2017, 01, 01 ): -286    my prog does not accept the values
GetDays   ( 2014, 04, 25 ): 696    ok.
GetDays   ( 2017, 12, 24 ): -643    my prog does not accept the values