4D v19CURTIME | 
            ||||||||||||||
                 
                
  | 
                
			
                    
                         
    4D v19
 
CURTIME 
                                
                                
        
 | 
                |||||||||||||
| 
                     | 
		||
The CURTIME function returns the current time to a precision of one second.
This example creates a table of invoices and inserts the current time into the INV_DATE column:
 ARRAY TEXT(aDate;0)
 Begin SQL
    CREATE TABLE INVOICES
    (INV_DATE VARCHAR(40));
 
    INSERT INTO INVOICES
    (INV_DATE)
    VALUES (CURTIME());
 
    SELECT *
    FROM INVOICES
    INTO :aDate;
 End SQL
  //the aDate array will return the INSERT command execution date and time.
	Produkt: 4D
	Thema: Functions
	
        
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D -  SQL Reference ( 4D v19)
	
	
Fehler melden