CDateFromUnoTime Function

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

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


CDateFromUnoTime(aTime)

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

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

Parameters:

aTime: Time to convert

Error codes:

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

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


Sub ExampleCDateFromUnoTime
    MsgBox(CDateFromUnoTime(aDatabaseRow.getTime(3)))
    MsgBox(CDateFromUnoTime(aTimeControl.Time))
End Sub