DateTime resetting

Joel joelcnz at gmail.com
Tue Oct 11 23:04:18 UTC 2022


On Tuesday, 11 October 2022 at 22:21:35 UTC, Adam D Ruppe wrote:
> On Tuesday, 11 October 2022 at 22:09:34 UTC, Joel wrote:
>> I've been working on a diary program (ChronoLog). but lately 
>> my date and time variable keeps resetting. I've spent hours 
>> trying to fix it. I'm wondering if there's a known issue.
>
> An ordinary DateTime variable? Those are pretty simple and 
> won't reset unless something else is wrong around it.
>
> Do you have the code online? Or can at least show some of the 
> context around its use?

I programmed the date and time stuff past midnight, then I think 
I had trouble onwards.

Here's code, I've included other code (maybe it can be compiled 
and run):
https://www.icloud.com/iclouddrive/08fL87THzs2BrI7-lEwXFF0Mw#ChronoLog_etc


More information about the Digitalmars-d-learn mailing list