Delphi and Outlook TaskItem: How to know if DueDate is empty?

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2010-05-06T19:42:09Z Indexed on 2010/05/06 19:48 UTC
Read the original article Hit count: 185

Filed under:
|
|
|

This seems like a no-brainer but I couldn't find anything on it.

How do I detect if a date variant in Outlook is "empty"? For example TaskItem.DueDate - the duedate is not necessarily filled.

If it's not filled Outlook returns "4501.01.01." - I can test for this value, but this just doesn't seem "elegant" enough.

Thanks!

© Stack Overflow or respective owner

Related posts about delphi

Related posts about outlook