Printing current date and time on Console using Supplier


import java.util.Date;
import java.util.function.*;

class ConsumerDemo {

  public static void main(String[] args) {
    Supplier<Date> s = () -> new Date();
    System.out.println(s.get());
  }
}

 

Google Script for Data Entry Form in Google Spreadsheet

// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...