i have a datetime field in my database. when i get the value in my perl script i get it as "dd.mm.yyyy hh:mm". I want to convert this to the ISO format of "YYYY-MM-DD".
Also when i run this script from a windows system whose regiaon settings points to "English (USA)" i get the value of this date field as "MM/DD/YYYY HH:MM"
Is it possible to have a conversion fn in perl to convert the date to ISO format irrespective of users's local settings?
I dont want to use any external PERL modules. Is this possible with standard modules?