[Gambas-user] Storing system date and time

T Lee Davidson t.lee.davidson at gmail.com
Wed Jun 19 20:33:37 CEST 2019


Try:
dteNow = Now


___
Lee


On 6/19/19 2:11 PM, KKing wrote:
> I want to trap the current date and time it then gets used as the transaction date time stamp which is used many times requiring 
> a variety of formatting needed for display and some file exports.
> 
> But if I do the following dteNow contains the current date but the time is 00:00:00. How can I hold the date and time?
> 
>      Dim dteNow as Date
>      dteNow = Date
> 
> K.
> 
> 
> 
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----


More information about the User mailing list