Xojo Conferences
XDCMay2019MiamiUSA

[MBS] Re: Mbsplugins monkeybreadsoftware.info Digest, Vol 58, Issue 3 (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] Whatever happened to the EqualMBS FolderItem function?
Next thread: [MBS] CoreFoundation and Total Seconds


[MBS] Re: Mbsplugins monkeybreadsoftware.info Digest, Vol 58, Issue 3   -   lveillette
  Re: [MBS] Re: Mbsplugins monkeybreadsoftware.info Digest, Vol 58, Issue 3   -   Christian Schmitz

[MBS] Re: Mbsplugins monkeybreadsoftware.info Digest, Vol 58, Issue 3
Date: 05.01.06 23:43 (Thu, 05 Jan 2006 17:43:37 -0500)
From: lveillette
What the simplest way to convert from a cfDateMBS to a regular RB date
class?

Thanx

Louis Veillette

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Re: Mbsplugins monkeybreadsoftware.info Digest, Vol 58, Issue 3
Date: 06.01.06 12:53 (Fri, 6 Jan 2006 12:53:28 +0100)
From: Christian Schmitz
lveillette <<email address removed>> wrote:

> What the simplest way to convert from a cfDateMBS to a regular RB date
> class?

>From the AddressbookShow my entry example:

dim v as CFDateMBS
dim dv as CFGregorianDateMBS
dim text as string
dim d as Date
dim at as CFAbsoluteTimeMBS

d=new date
at=v.AbsoluteTime
dv .GregorianDate(nil)

d.yearÐ.year
d.monthÐ.month
d.dayÐ.day
text.textÐlongdate

Please remember that cfdatembs has a timezone and the nil call on
Gregoriandate will give you date in system timezone.

Mfg
Christian

--
Ar