General Help regarding HMG, Compilation, Linking, Samples
Moderator: Rathinagiri
-
AUGE_OHR
- Posts: 2060
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Post
by AUGE_OHR »
hi,
i try to "read" Outlook Calendar Data and have a Problem while get "only Date" ... not "DateAsString" in YYYYMMDDHHMMSS Format
now i got Start Date but not Time when Appointment start
need some help please
p.s.
have this "old" HB_FUNC() ... don´t remember what i have used it for
Code: Select all
HB_FUNC( DATEASLONG )
{
PHB_ITEM pDate = hb_param( 1, HB_IT_DATE );
if( pDate )
hb_retnl( hb_itemGetDL( pDate ) );
else
hb_retnl( 0 );
}
Code: Select all
HB_FUNC( DATEASDOUBLE )
{
PHB_ITEM pDate = hb_param( 1, HB_IT_DATE );
if( pDate )
hb_retnd( hb_itemGetDD( pDate ) );
else
hb_retnd( 0 );
}
have fun
Jimmy
-
AUGE_OHR
- Posts: 2060
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Post
by AUGE_OHR »
hi,
found out that i have to set Language to get data as Timestamp
Code: Select all
REQUEST HB_LANG_DEWIN
REQUEST HB_CODEPAGE_DEWIN
hb_cdpSelect( 'DEWIN' )
hb_langSelect( 'DE' )
and use DBF with Codepage UTF8
Code: Select all
USE ( zDBF ) EXCLUSIVE CODEPAGE "UTF8"
now here working Version
have fun
Jimmy
-
AUGE_OHR
- Posts: 2060
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Post
by AUGE_OHR »
hi,
there was still a BUG with "Createtime", sorry
! Note : have rename to Outlook.DBF / Outlook.FPT
you have to check in Source for your need
Code: Select all
REQUEST HB_LANG_DEWIN
REQUEST HB_CODEPAGE_DEWIN
SET DATE GERMAN
hb_cdpSelect( 'DEWIN' )
hb_langSelect( 'DE' )
USE ( zDBF ) EXCLUSIVE CODEPAGE "DEWIN"
App for this DBF Structure under Construction ...
have fun
Jimmy
-
AUGE_OHR
- Posts: 2060
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Post
by AUGE_OHR »
hi,
have change Structure again while have a "OverNight" Problem.
so i add Outlook Calendar Property "End" and use a 2nd Label.
hm .. more Problem when move or delete ...
- OverNight1.jpg (225.82 KiB) Viewed 957 times
have fun
Jimmy