I hope everyone is well. I've been tasked to do something I haven't been able to do without a custom java class upload required.
I need to read back the number of days left in a trial period for a product. I can dip in the DB and get the date the trial started. I need to count from that date to whatever date is now D[now] and see how many days they are into their trial period. For instance, if the customer started their trial on 10/20/2014 and today is 10/30/2014 they are 10 days into their trial period. Anyone have a clever way to do this in the editor without a custom java class requirement?
the easiest approach would be to have the database query return this information for you. What is the type and version of your database server? Most SQL dialects have a helper function to return the difference between two date objects.
Also, when you do that database dip, what is the type of the column? String? Date? Datetime?
Are you getting this error “Installer User Interface Mode Not Supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The value UI mode identifiers...
The below trick might come handy when you have to add a new node to a cluster but you don't have or is unsure of the security password for the publisher. This procedure has been around for ages.
1) Login into the CLI of the Publisher.