fork download
  1. On Error Resume Next
  2. dim strMonth
  3. dim strDay
  4. dim strToday
  5. dim xcmd
  6. dim oShell
  7. dim strTodayFile
  8.  
  9. ' Get current month, add leading zero if necessary
  10. If DatePart("m",Date) < 10 Then
  11. strMonth = 0 & DatePart("m",Date)
  12. Else
  13. strMonth = DatePart("m",Date)
  14. End If
  15.  
  16. ' Get current day, add leading zero if necessary
  17. If DatePart("d",Date) < 10 Then
  18. strDay = 0 & DatePart("d",Date)
  19. Else
  20. strDay = DatePart("d",Date)
  21. End If
  22.  
  23. ' Format output for today
  24. strToday = strMonth & strDay
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class, interface, or enum expected
	On Error Resume Next
	^
Main.java:9: error: unclosed character literal
   	' Get current month, add leading zero if necessary
   	^
Main.java:16: error: unclosed character literal
	' Get current day, add leading zero if necessary
	^
Main.java:23: error: unclosed character literal
	' Format output for today
	^
4 errors
stdout
Standard output is empty