strftime - format date and time
#include
size_t strftime(char *s, size_t max, const char *format,
const struct tm *tm);
The strftime() function formats the broken-down time tm according to the format specifica-
tion format and places the result in the character array s of size max.
The strftime() function returns the number of characters placed in the array s, not
including the terminating NUL character, provided the string, including the terminating
NUL, fits. Otherwise, it returns 0, and the contents of the array is undefined.
Note that the return value 0 does not necessarily indicate an error; for example, in many
locales %p yields an empty string.
For more details check man pages.
Few questions on dotnet, C# 2.0, 3.5 On Object oriented concepts 1)What is inheritance with e.g 2)What is polymorphism -function overloading -Function overriding -virtual keyword use -Static keyword and use -Abstract classes -Interface -Object 3)What is threading and how do we use in realtime application(cognizant) 4)What is threadpooling, lock, monitor(write code sample) 5)Architecture of current project 6)Session state, diffrent types of state management. 7)What is Application_Start, how it works. 8)Type of authentication in asp.net 9)How to configure ASP.NET application. 10) What is Impersonation. 11) What is WebService, WSDL, UDDI, Discovery, asmx files. 12) How to implement WebService and use it. 13) When to use WebServices. 14) WPF, how to implement(BOA) 15) Testing concvepts. 16) Test attributes 17) Flow of Automation Test Method execution 18) Features of dotnet 3.5 19) CLR, garbage collection 20) Finally block 21) Manifest, Metadata, MSIL 22) Assemblies, Type of assemblies, str...
Comments