to_char(campo_fecha,'DD/MM/YYYY HH24:MI:SS')
Para probarlo:
select to_char(sysdate,'DD/MM/YYYY HH24:MI:SS') from dual;
Más información en:
http://www.oradev.com/oracle_date_format.jsp
to_char(campo_fecha,'DD/MM/YYYY HH24:MI:SS')
select to_char(sysdate,'DD/MM/YYYY HH24:MI:SS') from dual;
using System;
using System.Collections;
using System.Security.Principal;
using System.Reflection;
using System.IO;
public
class Prueba
{
public static void Main()
{
StreamWriter sw = File.CreateText("roles.txt");
foreach (IdentityReference Role in WindowsIdentity.GetCurrent().Groups.Translate(typeof(NTAccount)))
{
Console.WriteLine(Role.Value);
sw.WriteLine(Role.Value);
}
Console.ReadLine();
sw.Close();
}
}