Home > database >  Why dates are shown for 0000-00-00
Why dates are shown for 0000-00-00

Time:10-24

My system is: Windows 7 + sqlserver2008 + pb8
My program, the buttons have a document in some documents, the date will have 2 display in the window period EditMask, an automatic display date today, another automatic display 10 days before the date today, format in 0000-00-00, xp + sqlserver2000 + pb8, before the date of the display is normal, in under the Windows 7 + sqlserver2008 + pb8, today date should be displayed as the 2015-8-10 and 2015-8-10, but now are shown to 0, namely 0000-00 00 - and 0000-00-00, description what is the reason?

CodePudding user response:

An initial value,

CodePudding user response:

Em_1. Text=string (today (), '- DD YYYY - MM)
  • Related