Hello, I want to pass the date entered by a user in format YYYY/MM/DD HH24:MI:SS to the C program which further makes the entry in the DB. When I am passing the entered date in the command line argument as '2010/07/15 12:13:14', the C program considers this as 2 arguments and not 1. We are using getopt function to fetch the command line argument. Also tried sending the date in " " qootes also. Can anyone help me so that the complete argument will be treated as 1 and not 2.
Thanks