mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 04:11:35 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			225 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			225 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| Program Example104;
 | |
| 
 | |
| { This program demonstrates the NthDayOfWeek function }
 | |
| 
 | |
| Uses SysUtils,DateUtils;
 | |
| 
 | |
| Begin
 | |
|   Write('Today is the ',NthDayOfWeek(Today),'-th ');
 | |
|   Writeln(formatdateTime('dddd',Today),' of the month.');
 | |
| End. | 
