in the simple example:
TriggerUtils.GetEvenMinuteDate(DateTime.UtcNow); //it's ok
but
TriggerUtils.GetEvenMinuteDate(DateTime.Now); //I wait for long
time, it does not run. I am ing GMT+8
It seems that the behavior has been changed since last version.
Do I really have to manually convert local time to UTC time?
I'm running with the previous version of Quartz.NET, and as far as I know, triggers have always required using UTC date/times. Although, you shouldn't have to convert it manually, as I believe there is some sort of function in the .NET framework that will easily convert local times to UTC time. Do a quick google for it, and I'm sure you'll find it. On Dec 21, 9:54 pm, ���֮Դ <unruled...@gmail.com> wrote:
Hi, in the simple example: TriggerUtils.GetEvenMinuteDate(DateTime.UtcNow); //it's ok but TriggerUtils.GetEvenMinuteDate(DateTime.Now); //I wait for long time, it does not run. I am ing GMT+8 It seems that the behavior has been changed since last version. Do I really have to manually convert local time to UTC time?
-- You received this message because you are subscribed to the Google Groups "Quartz.NET" group. To post to this group, send email to quar...@googlegroups.com. To unsubscribe from this group, send email to quartznet+...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/quartznet?hl=en.