private DateTime _tweetUtcDate;
public DateTime TweetDate
{
get
{
return _tweetUtcDate.ToLocalTime();
}
set
{
_tweetUtcDate = value.ToUniversalTime();
}
}
<property access="field" name="_tweetUtcDate" type="System.DateTime">
<column name="TweetUtcDate" sql-type="smalldatetime" not-null="true" />
</property>
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To post to this group, send email to nhu...@googlegroups.com.
To unsubscribe from this group, send email to nhusers+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
Work with the tools not against them.
--
Fabio Maulo