Il problema è che l'esempio è con un datetimepicker e non mi è tanto d'aiuto dato che io ho un button. Tu riesci?
Regole del Forum