Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Peter,

could be something like this:

DIM unoDate
unoDate = createUnoStruct("com.sun.star.util.Date")
unoDate.Year = Year(Date)
unoDate.Month = Month(Date)
unoDate.Day = Day(Date)

unoDate is now the date, which should be put into the field:
oDateControl.Date = unoDate

Haven't tested this before for Dialogs, but the start with unoDate
works for forms.

Regards

Robert
- -- 
Homepage: http://robert.familiegrosskopf.de
LibreOffice Community: http://robert.familiegrosskopf.de/map_3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJYY/JUAAoJELDKYwaoS9AIy+sQAIuP/MGAGr0w8Sjg0P97CN64
dgTgGMmkwnr76ut5IfVWZGQ1doZ8sdRowPeWmf5p9nM7apMe6nNPCWLobEOcJda1
jafaMs0OIHJIDEo3F+4Ay9bRcaep8N1nuntW/vZQTENt5pbzeS0jHOvU3c4eWM+v
nDiGmiDRuitvHZV9Y0aIsQhm9AVK/JQ9J3tU28zBfleWPCQrPUTyOlyMghnzvhS/
BAuhOhT7LJ3mBH3KZDFrW2sZuW+x3x75DeuPSDqpNb6hI83Qf2boj6PlolrkxOgJ
mr6ymJ5vIPXL6msDQnCny4S2eKHgR8gbhBHcu9E90AhxcfoDafJ4IIUivQr4jM7W
wxsdGH8FXhcbSIY4vUS5zGR1G7ELga9CShk5/QI6u/etyz0H6QrQ78kzQ+5RqtLq
aY/yAS2HaqiTllQy6V606vzATx2XGoCV/eSq2FrqQG8t0RBmHNQpdRyqbc2+gDj8
lkT/I2NNen80JQDovj2apul4XpMbirFuraCAn/jcWIMAXmyKbA1kdxcIzYsSmm67
C4xyNC4lflkdytiYKNtwUa5/BbWD/K4gEYypi9U8eU4xYBbkwPmbFmoXqmgmmr9r
n/rqjmtyNwCPm+whNLulXMKV+HLJrdOTbbadoxUyXvcAhiTxvmz3DKk3eYTebkN8
uTheKbsLd1iNGzMYx5O0
=zuMC
-----END PGP SIGNATURE-----

-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.