CDateFromUnoDateTime Function

Converts a UNO com.sun.star.util.DateTime struct to a Date value.

แƒกแƒ˜แƒœแƒขแƒแƒฅแƒกแƒ˜


CDateFromUnoDateTime(aDateTime)

แƒ“แƒแƒ‘แƒ แƒฃแƒœแƒ”แƒ‘แƒฃแƒšแƒ˜ แƒ›แƒœแƒ˜แƒจแƒ•แƒœแƒ”แƒšแƒแƒ‘แƒ:

แƒ—แƒแƒ แƒ˜แƒฆแƒ˜

Parameters:

aDateTime: DateTime to convert

Error codes:

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).

แƒ›แƒแƒ’แƒแƒšแƒ˜แƒ—แƒ˜:


Sub ExampleCDateFromUnoDateTime
    MsgBox(CDateFromUnoDateTime(aDatabaseRow.getTimestamp(3)))
End Sub