Skip to content

IAccount.CreationTime

property · IAccount · cAlgo.API.Internals Since 5.2

DesktopCLICloud

Gets the account creation time.

Definition

DateTime CreationTime {get;}
api.Account.CreationTime: DateTime

Returns DateTime

Examples

var accountAge = Server.Time - Account.CreationTime;
Print("Account created on {0}, {1} days ago", Account.CreationTime, (int)accountAge.TotalDays);
accountAge = api.Server.Time - api.Account.CreationTime
api.Print(f"Account created on {api.Account.CreationTime}, {int(accountAge.TotalDays)} days ago")