Question Sukhpreet Singh · Jul 15, 2023 Can we fetch data from a global if name of the global is stored in a string? I have created a global say ^myglobal and entered some data. I am storing the name of global in databases and fetching the name based on some criteria. I am getting "^myglobal" in return from databases but i am not able to fetch the data I stored in the global. I tried set var = result.global which gives me "^myglobal" in var. Doing WRITE var will return "^myglobal" and not the data i stored in this global. #Globals #Namespace #InterSystems IRIS 3 5 1 342
Question Sukhpreet Singh · Jul 15, 2023 Is there any way to create a global that will be available in all the namespaces? I want to fetch value from a global without being limited by the namespace. Is there any way of referencing the values from a global to a different namespace? #Globals #Namespace #InterSystems IRIS 2 3 1 276
Question Sukhpreet Singh · Jul 6, 2023 How can we convert unix timestamp to date (dd mon yyyy) for example unix timestamp. = 572486400 and i want to convert it to 22 Feb 1988? Convert epoch time to standard date in (dd mon yyyy) or (yyyy-mm-dd) #InterSystems IRIS 0 2 0 287