[Gambas-user] DateChooser strange behavior

Gianluigi bagonergi at ...626...
Fri Dec 11 16:26:17 CET 2015


Why this simple code works only between 1 and 12 of each month?

Public Sub DateChooser1_Change()
  Dim d As Date, s As Integer, valore As String

  d = Date(DateChooser1.Value)
  valore = CString(d)
  s = Week(d)
  TextBox1.Text = s & " - " & CString(Val(valore))
End

Regards
Gianluigi



More information about the User mailing list