Format of date VB.net EF

0
     Function TraeConta(ByVal DAT_CODIGO As Integer,
                       ByVal DAT_NRO_ORDEN As Integer,
                       ByVal DAT_RUTPAC As Integer) As MIN_CONT_CONTACTADOS


        Dim cont As New MIN_CONT_CONTACTADOS


        Try
            cont = _db.Min_Trae_Contactados(DAT_CODIGO, DAT_NRO_ORDEN, DAT_RUTPAC).First()

            Return cont

        Catch ex As Exception
            ViewBag.Error = ex.Message
            Return cont
        End Try

    End Function

Inside MIN_CONT_CONTACTED there is a field CONT_FECHACONTAC How do I apply the Return Format yyyy-MM-dd?

    
asked by Ignacio C. 11.06.2018 в 17:24
source

0 answers